-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (73 loc) · 1.77 KB
/
docker-compose.yml
File metadata and controls
73 lines (73 loc) · 1.77 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
version: '3.0'
services:
mangosd:
image: steakhouse.sysroot.ovh/mangosd
build:
context: .
dockerfile: ./services/mangosd/Dockerfile
links:
- mysql
- realmd
volumes:
- ./data/mangosd/etc:/runtime/etc
- ./data/mangosd/data/dbc:/runtime/bin/dbc
- ./data/mangosd/data/maps:/runtime/bin/maps
- ./data/mangosd/data/mmaps:/runtime/bin/mmaps
- ./data/mangosd/data/vmaps:/runtime/bin/vmaps
# - ./data/builder/data/run/bin/mangosd:/runtime/bin/mangosd
ports:
- 8085:8085
restart: unless-stopped
realmd:
image: steakhouse.sysroot.ovh/realmd
build:
context: .
dockerfile: ./services/realmd/Dockerfile
links:
- mysql
volumes:
- ./data/realmd/etc:/runtime/etc
- ./data/realmd/data:/runtime/data
# - ./data/builder/data/run/bin/realmd:/runtime/bin/realmd
ports:
- 3724:3724
restart: unless-stopped
mysql:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=mangos
command:
- --sql-mode=NO_ENGINE_SUBSTITUTION
ports:
- 3306:3306
volumes:
- ./data/mysql:/var/lib/mysql
restart: unless-stopped
web:
image: steakhouse.sysroot.ovh/web-cmangos
ports:
- 8080:80
api:
image: steakhouse.sysroot.ovh/api-cmangos
ports:
- 5556:5556
links:
- mysql
- realmd
- mangosd
depends_on:
- mysql
- realmd
- mangosd
command: sh -c "sleep 20 && ./api-cmangos contrib/config.ini.dist"
initdb:
image: steakhouse.sysroot.ovh/builder
build:
context: .
dockerfile: ./services/builder/Dockerfile
volumes:
- ./data/builder/etc:/runtime/etc
- ./data/builder/data:/runtime/data
links:
- mysql
command: "initdb.sh"