forked from DrewKestell/BloogBot
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.vmangos-linux.yml
More file actions
114 lines (109 loc) · 3.6 KB
/
docker-compose.vmangos-linux.yml
File metadata and controls
114 lines (109 loc) · 3.6 KB
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
name: wwow
services:
realmd:
image: ghcr.io/mserajnik/vmangos-server:5875
container_name: realmd
restart: unless-stopped
command: ["/bin/sh", "/wwow-docker/start-realmd.sh"]
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "3724"]
interval: 1m
timeout: 3s
retries: 5
start_period: 2m
environment:
WWOW_VMANGOS_DB_HOST: ${WWOW_VMANGOS_DB_HOST:-maria-db}
WWOW_VMANGOS_DB_PORT: ${WWOW_VMANGOS_DB_PORT:-3306}
WWOW_VMANGOS_DB_USER: ${WWOW_VMANGOS_DB_ROOT_USER:-root}
WWOW_VMANGOS_DB_PASSWORD: ${WWOW_VMANGOS_DB_ROOT_PASSWORD:-root}
WWOW_VMANGOS_REALMD_PORT: ${WWOW_VMANGOS_REALMD_PORT:-3724}
networks:
- gameserver-net
ports:
- "${WWOW_VMANGOS_REALMD_PUBLISHED_PORT:-3724}:3724"
volumes:
- ${WWOW_VMANGOS_SERVER_CONFIG_DIR:-D:/vmangos-server}/realmd.conf:/wwow-input/realmd.conf:ro
- ./docker/linux/vmangos:/wwow-docker:ro
- ./docker/linux/vmangos/storage/realmd/logs:/opt/vmangos/storage/logs
mangosd:
image: ghcr.io/mserajnik/vmangos-server:5875
container_name: mangosd
restart: unless-stopped
command: ["/bin/sh", "/wwow-docker/start-mangosd.sh"]
depends_on:
realmd:
condition: service_started
tty: true
stdin_open: true
stop_grace_period: 2m
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "8085"]
interval: 1m
timeout: 3s
retries: 5
start_period: 10m
environment:
WWOW_VMANGOS_DB_HOST: ${WWOW_VMANGOS_DB_HOST:-maria-db}
WWOW_VMANGOS_DB_PORT: ${WWOW_VMANGOS_DB_PORT:-3306}
WWOW_VMANGOS_DB_USER: ${WWOW_VMANGOS_DB_ROOT_USER:-root}
WWOW_VMANGOS_DB_PASSWORD: ${WWOW_VMANGOS_DB_ROOT_PASSWORD:-root}
WWOW_VMANGOS_WORLD_PORT: ${WWOW_VMANGOS_WORLD_PORT:-8085}
WWOW_VMANGOS_SOAP_PORT: ${WWOW_VMANGOS_SOAP_PORT:-7878}
networks:
- gameserver-net
ports:
- "${WWOW_VMANGOS_WORLD_PUBLISHED_PORT:-8085}:8085"
- "${WWOW_VMANGOS_SOAP_PUBLISHED_PORT:-7878}:7878"
volumes:
- ${WWOW_VMANGOS_SERVER_CONFIG_DIR:-D:/vmangos-server}/mangosd.conf:/wwow-input/mangosd.conf:ro
- ${WWOW_VMANGOS_DATA_DIR:-D:/MaNGOS/data}:/opt/vmangos/storage/data:ro
- ./docker/linux/vmangos:/wwow-docker:ro
- ./docker/linux/vmangos/storage/mangosd/logs:/opt/vmangos/storage/logs
- ./docker/linux/vmangos/storage/mangosd/honor:/opt/vmangos/storage/honor
pathfinding-service:
build:
context: .
dockerfile: Services/PathfindingService/Dockerfile
container_name: pathfinding-service
restart: unless-stopped
environment:
DOTNET_ENVIRONMENT: Docker
WWOW_DATA_DIR: /wwow-data
networks:
- gameserver-net
ports:
- "5001:5001"
volumes:
- ${WWOW_VMANGOS_DATA_DIR:-D:/MaNGOS/data}:/wwow-data:ro
healthcheck:
test: ["CMD-SHELL", "bash -c '</dev/tcp/localhost/5001' || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
scene-data-service:
build:
context: .
dockerfile: Services/SceneDataService/Dockerfile
container_name: scene-data-service
restart: unless-stopped
environment:
DOTNET_ENVIRONMENT: Docker
WWOW_SCENE_DATA_IP: 0.0.0.0
WWOW_SCENE_DATA_PORT: "5003"
WWOW_DATA_DIR: /wwow-data
networks:
- gameserver-net
ports:
- "5003:5003"
volumes:
- ${WWOW_VMANGOS_DATA_DIR:-D:/MaNGOS/data}:/wwow-data:ro
healthcheck:
test: ["CMD-SHELL", "bash -c '</dev/tcp/localhost/5003' || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
networks:
gameserver-net:
external: true