27 lines
705 B
Text
27 lines
705 B
Text
version: '2'
|
|
|
|
services:
|
|
server:
|
|
build: .
|
|
stdin_open: true
|
|
tty: true
|
|
environment:
|
|
- "DST_CLUSTER_TOKEN=setmesetmesetmesetmesetme"
|
|
- "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"
|
|
ports:
|
|
- 11000:11000
|
|
- 11000:11000/udp
|
|
- 27018:27018
|
|
- 27018:27018/udp
|
|
- 8768
|
|
#volumes:
|
|
#- server:/home/steam/.klei/DoNotStarveTogether/
|
|
#- /data/steam-games/:/home/steam/games/:rw
|
|
|