forked from notagamedevnono/trinityCore-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (57 loc) · 1.68 KB
/
Copy pathdocker-compose.yml
File metadata and controls
60 lines (57 loc) · 1.68 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
version: "3"
services:
db:
image: mariadb:10.5.1
container_name: trinity-db
volumes:
- ./mysql:/var/lib/mysql
- ./dbdumps:/var/dbdumps
- ./dbrestore:/var/dbrestore
- ./conduit:/var/trinityscripts:rw
ports:
- 3306:3306
expose:
- '3306'
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_PASSWORD=root
restart: unless-stopped
networks:
- trinity_network
world:
image: trinitycore
container_name: trinity-world
ports:
- 8085:8085
- 7878:7878
- 3443:3443 # used for remote access via telnet
volumes:
- ./worldserver.conf:/opt/trinitycore/etc/worldserver.conf
- /etc/localtime:/etc/localtime:ro
- ./conduit:/var/trinityscripts:rw
depends_on:
- db
restart: unless-stopped
# uncomment this line to when you are ready to start trinity
# command: /bin/sh -c "cd /opt/trinitycore/bin && ./worldserver"
networks:
- trinity_network
auth:
image: trinitycore
container_name: trinity-auth
ports:
- 3724:3724
volumes:
- ./authserver.conf:/opt/trinitycore/etc/authserver.conf
- /etc/localtime:/etc/localtime:ro
depends_on:
- world
- db
restart: unless-stopped
# uncomment this line to when you are ready to start trinity
# command: /bin/sh -c "cd /opt/trinitycore/bin && ./authserver"
networks:
- trinity_network
networks:
trinity_network:
driver: bridge