-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
85 lines (66 loc) · 1.5 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
name: cmangos
services:
mariadb:
image: mariadb:11.5
environment:
MYSQL_ROOT_PASSWORD: "${MYSQL_SUPERPASS}"
networks:
- default
volumes:
- mariadb_data:/var/lib/mysql
- ./database:/etc/mysql/conf.d:ro
mangosd:
image: "ghcr.io/byloth/cmangos/${WOW_VERSION}:latest"
depends_on:
- mariadb
environment:
MANGOS_DBHOST: mariadb
MANGOS_DBUSER: "${MANGOS_DBUSER}"
MANGOS_DBPASS: "${MANGOS_DBPASS}"
TZ: "${WOW_TIMEZONE}"
command: mangosd
stdin_open: true
tty: true
networks:
- default
ports:
- "${MANGOSD_PORT:-8085}:8085"
volumes:
- cmangos_mangosd_data:/var/lib/mangos:ro
- ./runner/config:/opt/mangos/conf:ro
realmd:
image: "ghcr.io/byloth/cmangos/${WOW_VERSION}:latest"
depends_on:
- mariadb
environment:
MANGOS_DBHOST: mariadb
MANGOS_DBUSER: "${MANGOS_DBUSER}"
MANGOS_DBPASS: "${MANGOS_DBPASS}"
TZ: "${WOW_TIMEZONE}"
command: realmd
networks:
- default
ports:
- "${REALMD_PORT:-3724}:3724"
volumes:
- cmangos_mangosd_data:/var/lib/mangos:ro
phpmyadmin:
image: phpmyadmin:5.2
depends_on:
- mariadb
profiles:
- debug
environment:
PMA_HOST: mariadb
PMA_USER: root
PMA_PASSWORD: "${MYSQL_SUPERPASS}"
networks:
- default
ports:
- "${PHPMYADMIN_PORT:-8080}:80"
networks:
default:
volumes:
mariadb_data:
cmangos_mangosd_data:
external: true