-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
108 lines (100 loc) · 2.2 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
version: '3.9'
x-pandaria-shared-conf: &pandaria-shared-conf
environment:
- TZ=Europe/London
volumes:
- "./server:/opt/server:rw"
- "${WOW_PATH}:/opt/wow:rw"
- "./build:/opt/build:rw"
tty: True
restart: unless-stopped
services:
authserver:
image: pandaria:authserver
container_name: pandaria-authserver
build:
context: containers/authserver
dockerfile: Dockerfile
<<: *pandaria-shared-conf
ports:
- "3724:3724"
compile:
image: pandaria:compile
env_file:
- ./env/compile.env
- ./env/mariadb.env
container_name: pandaria-compile
build:
context: containers/compile
dockerfile: Dockerfile
<<: *pandaria-shared-conf
restart: "no"
profiles:
- compile
extractor:
image: pandaria:extractor
container_name: pandaria-extractor
env_file:
- ./env/extractor.env
build:
context: containers/extractor
dockerfile: Dockerfile
<<: *pandaria-shared-conf
volumes:
- "/tmp:/tmp"
- "./server:/opt/server:rw"
- "${WOW_PATH}:/opt/wow:rw"
- "./build:/opt/build:rw"
privileged: true
ulimits:
core: -1
restart: "no"
profiles:
- extractor
sql:
image: pandaria:mariadb
environment:
- TZ=Europe/London
env_file:
- ./env/mariadb.env
- ./env/compile.env
container_name: pandariadb
hostname: pandariadb
build:
context: containers/sql
dockerfile: Dockerfile
volumes:
- "./build:/opt/build:rw"
tty: True
command: --max_allowed_packet=32505856
# user: "${USER_ID}:${GROUP_ID}"
ports:
- "3336:3306"
restart: unless-stopped
phpmyadmin:
image: phpmyadmin
ports:
- "8080:80"
environment:
- PMA_HOST=pandaradb
- PMA_USER=root
- PMA_PASSWORD=pwd
restart: "no"
depends_on:
- sql
profiles:
- dev
worldserver:
image: pandaria:worldserver
container_name: pandaria-worldserver
build:
context: containers/worldserver
dockerfile: Dockerfile
<<: *pandaria-shared-conf
ports:
- "3443:3443"
- "8085:8085"
- "8086:8086"
networks:
default:
name: pandaria-network