-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
170 lines (157 loc) · 3.69 KB
/
docker-compose.yml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
version: "3.7"
services:
pvpgn:
restart: unless-stopped
container_name: pvpgn_server
image: ender25/pvpgn-server:bnetd-mysql
user: root
ports:
- 6112:6112
- 6112:6112/udp
- 6200:6200
- 6200:6200/udp
- 4000:4000
- 4000:4000/udp
volumes:
- ./pvpgn/etc/pvpgn:/usr/local/etc/pvpgn
- ./pvpgn/var/pvpgn:/usr/local/var/pvpgn
networks:
- internal
pvpgn-linux:
restart: unless-stopped
container_name: pvpgn_linux_server
image: ender25/pvpgn-server:bnetd-mysql
user: root
network_mode: "host"
volumes:
- ./pvpgn/etc/pvpgn:/usr/local/etc/pvpgn
- ./pvpgn/var/pvpgn:/usr/local/var/pvpgn
d2cs:
restart: unless-stopped
container_name: d2cs_server
image: ender25/pvpgn-server:d2cs-mysql
ports:
- 6113:6113
- 6113:6113/udp
volumes:
- ./pvpgn/etc/pvpgn:/usr/local/etc/pvpgn
- ./pvpgn/var/pvpgn:/usr/local/var/pvpgn
networks:
- internal
d2dbs:
restart: unless-stopped
container_name: d2dbs_server
image: ender25/pvpgn-server:d2dbs-mysql
ports:
- 6114:6114
- 6114:6114/udp
volumes:
- ./pvpgn/etc/pvpgn:/usr/local/etc/pvpgn
- ./pvpgn/var/pvpgn:/usr/local/var/pvpgn
networks:
- internal
pvpgn-db:
restart: unless-stopped
container_name: pvpgn_databse
image: ender25/pvpgn-server:mysql-db
ports:
- 127.0.0.1:3306:3306
volumes:
- ./pvpgn/database:/var/lib/mysql
environment:
MYSQL_DATABASE: "bnetd"
MYSQL_USER: "bnetd"
MYSQL_PASSWORD: "secret" # this is not a risk
MYSQL_ALLOW_EMPTY_PASSWORD: 1
networks:
- internal
pvpgn-stats:
restart: unless-stopped
container_name: pvppg_stats_server
depends_on:
- pvpgn-db
image: ender25/pvpgn-server:web-server
volumes:
- ./pvpgn-stats:/var/www/html
- ./pvpgn/var/pvpgn/ladders:/ladders
ports:
- 9082:80
env_file:
- pvpgn/.env
networks:
- internal
- proxy
ghostpp:
restart: unless-stopped
container_name: ghostpp_server
depends_on:
- ghostpp-db
image: fatorin/ghostpp:1.3
ports:
- 6320:6320
- 6321:6321
volumes:
- ./ghostpp/config:/app/config
- ./ghostpp/maps:/app/maps
command: ./ghost++ "./config/ghost.cfg"
networks:
- internal
ghostpp-2:
restart: unless-stopped
container_name: ghostpp_2_server
depends_on:
- ghostpp-db
image: fatorin/ghostpp:1.3
ports:
- 6322:6322
- 6323:6323
volumes:
- ./ghostpp/config:/app/config
- ./ghostpp/maps:/app/maps
command: ./ghost++ "./config/ghost.2.cfg"
networks:
- internal
ghostpp-db:
restart: unless-stopped
container_name: ghostpp_databse
image: ender25/pvpgn-server:mysql-db
volumes:
- ./ghostpp/database:/var/lib/mysql
environment:
MYSQL_DATABASE: "ghost"
MYSQL_USER: "ghost"
MYSQL_PASSWORD: "secret" # this is not a risk
MYSQL_ALLOW_EMPTY_PASSWORD: 1
networks:
- internal
dota-stats:
restart: unless-stopped
container_name: dota_stats_server
depends_on:
- ghostpp-db
image: ender25/pvpgn-server:web-server
volumes:
- ./dota-stats:/var/www/html
ports:
- 9081:80
env_file:
- ghostpp/.env
networks:
- internal
- proxy
phpmyadmin:
restart: unless-stopped
container_name: pvpgn_database_admin
depends_on:
- ghostpp-db
image: phpmyadmin/phpmyadmin
ports:
- 127.0.0.1:8085:80
environment:
PMA_HOSTS: "pvpgn-db,ghostpp-db"
networks:
- internal
networks:
internal:
proxy:
external: true