steam-dontstarve/docker-compose.yml.dist

30 lines
782 B
Text
Raw Normal View History

version: '2'
services:
server:
build: .
stdin_open: true
tty: true
environment:
2018-12-27 22:50:15 +01:00
- "DST_CLUSTER_TOKEN=keykeykeykeykeykeykeykeykeykeykeykey"
- "DST_GAME_MODE=survival"
- "DST_MAX_PLAYERS=6"
- "DST_PVP=false"
- "DST_PAUSE_WHEN_EMPTY=true"
- "DST_CLUSTER_DESCRIPTION=Don't Starve server running in a container"
- "DST_CLUSTER_NAME=Contained world"
- "DST_CLUSTER_INTENTION=cooperative"
- "DST_CLUSTER_PASSWORD=set"
2018-12-27 22:50:15 +01:00
# seperate multiple mods with a space (for example "DST_MODS=375859599 378160973")
- "DST_MODS="
ports:
- 11000:11000
- 11000:11000/udp
- 27018:27018
- 27018:27018/udp
- 8768
2018-12-27 22:50:15 +01:00
volumes:
- ./server:/home/steam/.klei/DoNotStarveTogether/server