-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
65 lines (61 loc) · 1.59 KB
/
docker-compose.yaml
File metadata and controls
65 lines (61 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
services:
db:
container_name: pangya_db
hostname: pangya_db
ports:
- "5432:5432"
image: postgres
volumes:
- "./psql:/var/lib/postgresql"
- "./dbinit:/docker-entrypoint-initdb.d/"
- dbinit:/opt/bk-squema
environment:
POSTGRES_PASSWORD: "pangya123"
POSTGRES_HOST_AUTH_METHOD: "md5"
POSTGRES_INITDB_ARGS: "--auth=md5 --auth-host=md5 --locale=en_US.UTF-8 --encoding=UTF-8"
networks:
- pangya
app:
container_name: pangya_app
hostname: pangya_app
ports:
- "7777:7777"
- "20203:20203"
- "10303:10303"
- "30303:30303"
- "4774:4774"
image: japangya
build: .
restart: "on-failure"
depends_on:
- db
networks:
- pangya
volumes:
- "./ini/auth_server.ini:/opt/Auth Server/server.ini"
- "./ini/game_server.ini:/opt/Game Server/server.ini"
- "./ini/login_server.ini:/opt/Login Server/server.ini"
- "./ini/message_server.ini:/opt/Message Server/server.ini"
- "./ini/rank_server.ini:/opt/Rank Server/server.ini"
- "./pangya_jp.iff:/opt/Game Server/data/pangya_jp.iff"
- "./discord-config.json:/opt/Smart-Calculator/Discord/config.json"
- www:/www
- dbinit:/dbinit
command: /bin/bash -c "while true; do sleep 10; done"
web:
container_name: web
hostname: web
image: nginx
networks:
- pangya
volumes:
- www:/usr/share/nginx/html
- "./updatelist:/usr/share/nginx/html/S4_Patch/updatelist"
ports:
- "8080:80"
volumes:
www:
dbinit:
networks:
pangya:
name: pangya-network