-
Notifications
You must be signed in to change notification settings - Fork 56
/
docker-compose.yml
38 lines (34 loc) · 979 Bytes
/
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
version: '3'
services:
dst_caves:
container_name: dst_caves
image: mathielo/dst-dedicated-server:0.3.1
ports:
- 10998:10998/udp
networks:
- dst_cluster
links:
- dst_master
volumes:
- ./DSTClusterConfig:/home/dst/.klei/DoNotStarveTogether/DSTWhalesCluster
- ./volumes/mods:/home/dst/server_dst/mods
environment:
- SHARD_NAME=Caves
dst_master:
container_name: dst_master
image: mathielo/dst-dedicated-server:0.3.1
networks:
- dst_cluster
ports:
- 10999:10999/udp
volumes:
- ./DSTClusterConfig:/home/dst/.klei/DoNotStarveTogether/DSTWhalesCluster
- ./volumes/mods:/home/dst/server_dst/mods
environment:
- SHARD_NAME=Master
# These allow to stdin when attaching to the container via `docker attach`
# Any server commands should be sent to the master shard as it manages its slaves (Caves)
stdin_open: true
tty: true
networks:
dst_cluster: