-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.multi-world.yml
64 lines (60 loc) · 1.67 KB
/
docker-compose.multi-world.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
version: "3.5"
services:
database:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASS:-mangos}"
MYSQL_USER: "${DB_USER:-mangos}"
MYSQL_PASSWORD: "${DB_PASS:-mangos}"
ports:
- "${DB_PORT:-3306}:3306"
volumes:
- "./data/database:/var/lib/mysql"
realmd:
image: ghcr.io/jrtashjian/cmangos-realmd-${CORE_VARIANT}:master
depends_on:
- database
env_file: .env
ports:
- 3724:3724
volumes:
- "./data/realmd_etc:/opt/cmangos/etc"
- "/etc/localtime:/etc/localtime:ro"
mangosd_one:
image: ghcr.io/jrtashjian/cmangos-mangosd-${CORE_VARIANT}:master
depends_on:
- database
env_file: .env
environment:
REALM_ID: 1
REALM_NAME: "MangosD One"
REALM_ADDRESS: "127.0.0.1"
REALM_PORT: 8085
WORLD_DB_NAME: "mangosd_one_world"
CHARACTERS_DB_NAME: "mangosd_one_characters"
LOGS_DB_NAME: "mangosd_one_logs"
ports:
- 8085:8085
volumes:
- "./data/mangosd_etc:/opt/cmangos/etc"
- "/etc/localtime:/etc/localtime:ro"
- "./extracted-data:/opt/cmangos-data:ro"
mangosd_two:
image: ghcr.io/jrtashjian/cmangos-mangosd-${CORE_VARIANT}:master
depends_on:
- database
env_file: .env
environment:
REALM_ID: 2
REALM_NAME: "MangosD Two"
REALM_ADDRESS: "127.0.0.1"
REALM_PORT: 8086
WORLD_DB_NAME: "mangosd_two_world"
CHARACTERS_DB_NAME: "mangosd_two_characters"
LOGS_DB_NAME: "mangosd_two_logs"
ports:
- 8086:8085
volumes:
- "./data/mangosd_etc:/opt/cmangos/etc"
- "/etc/localtime:/etc/localtime:ro"
- "./extracted-data:/opt/cmangos-data:ro"