-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
77 lines (74 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
#######################################################
#
# docker-compose-cmangos
#
#######################################################
#
# To run this compose file, you must specify
# services to run:
#
# docker-compose up [-d] <service1> [<service2> ...]
#
# To initialize your setup:
#
# docker-compose up initdb
#
# This will launch MySQL and initialize the database
#
# To start mangos and realmd:
#
# docker-compose up -d mangosd realmd
#
#######################################################
version: '2.0'
services:
test:
build: cmangos
environment:
- MYSQL_ROOT_PASSWORD=mangos
links:
- mysql
command: "sleep 100000000"
volumes:
- ./etc:/runtime/etc
mangosd:
build: cmangos
environment:
- MYSQL_ROOT_PASSWORD=mangos
links:
- mysql
- realmd
command: "mangosd.sh"
volumes:
- ./etc:/runtime/etc
ports:
- 8085:8085
restart: unless-stopped
realmd:
build: cmangos
environment:
- MYSQL_ROOT_PASSWORD=mangos
links:
- mysql
command: "realmd.sh"
volumes:
- ./etc:/runtime/etc
ports:
- 3724:3724
restart: unless-stopped
mysql:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=mangos
command:
- --sql-mode=NO_ENGINE_SUBSTITUTION
restart: unless-stopped
initdb:
build: cmangos
environment:
- MYSQL_ROOT_PASSWORD=mangos
links:
- mysql
command: "initdb.sh"
foobar:
image: SPECIFY_SERVICES_TO_RUN