-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
61 lines (58 loc) · 1.43 KB
/
docker-compose.dev.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
version: "3.5"
services:
database:
image: mariadb:latest
environment:
- MYSQL_ROOT_PASSWORD
- MYSQL_USER
- MYSQL_PASSWORD
ports:
- 3306:3306
volumes:
- "./data/database:/var/lib/mysql"
realmd:
build:
context: ./realmd/
dockerfile: Dockerfile
args:
CMANGOS_CORE: ${CORE_VARIANT}
image: ghcr.io/jrtashjian/cmangos-realmd-${CORE_VARIANT}:master
depends_on:
- database
environment:
- REALMD_DB
- MYSQL_ROOT_PASSWORD
- MYSQL_USER
- MYSQL_PASSWORD
- DB_SERVER
ports:
- 3724:3724
volumes:
- "./data/${CORE_VARIANT}_realmd_etc:/opt/cmangos/etc"
- "/etc/localtime:/etc/localtime:ro"
mangosd:
build:
context: ./mangosd/
dockerfile: Dockerfile
args:
CMANGOS_CORE: ${CORE_VARIANT}
image: ghcr.io/jrtashjian/cmangos-mangosd-${CORE_VARIANT}:master
depends_on:
- database
- realmd
environment:
- REALMD_SERVER=realmd:3724
- REALMD_DB
- WORLD_DB=${CORE_VARIANT}_world
- CHARACTER_DB=${CORE_VARIANT}_characters
- LOGS_DB=${CORE_VARIANT}_logs
- MYSQL_ROOT_PASSWORD
- MYSQL_USER
- MYSQL_PASSWORD
- DB_SERVER
ports:
- 8085:8085
volumes:
- "./data/${CORE_VARIANT}_mangosd_etc:/opt/cmangos/etc"
- "/etc/localtime:/etc/localtime:ro"
- "/path/to/extracted/client/data:/opt/cmangos-data:ro"