Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Don't Starve Together DST Academy w/ Caves rancher setup
version: '2'
volumes:
dst-data-volume:
external: true
driver: 'null'
services:
dst-data-volume:
image: busybox
network_mode: none
volumes:
- /var/lib/dsta/master
- /var/lib/dsta/slave
command:
- /bin/true
labels:
io.rancher.container.start_once: 'true'
overworld:
image: dstacademy/dontstarvetogether
environment:
CLUSTER_PATH: /var/lib/dsta/master
DESCRIPTION: 'Voice chat: discord.gg/YwvfxZJ'
MAX_PLAYERS: '10'
NAME: Where's Base? (Klei Unofficial)
SHARD_CLUSTER_KEY: gewdyasdi2
SHARD_ENABLE: 'true'
SHARD_IS_MASTER: 'true'
SHARD_MASTER_IP: overworld
SHARD_NAME: overworld
TOKEN: pds-g^KU_s5j_0CpH^iTAHtrojpIVBkdIjqeM1FI6G5wVNnpWML6iHOzqQd+M=
WHITELIST_SLOTS: '2'
PAUSE_WHEN_EMPTY: 'true'
volumes_from:
- dst-data-volume
ports:
- 10999:10999/udp
command:
- dst-server
- start
- --update=all
labels:
io.rancher.scheduler.affinity:host_label: dst=caves
io.rancher.sidekicks: dst-data-volume,dst-caves
dst-caves:
image: dstacademy/dontstarvetogether
environment:
CLUSTER_PATH: /var/lib/dsta/slave
MAX_PLAYERS: '10'
SERVER_PORT: '11000'
SHARD_CLUSTER_KEY: gewdyasdi2
SHARD_ENABLE: 'true'
SHARD_IS_MASTER: 'false'
SHARD_MASTER_IP: overworld
SHARD_NAME: underworld
TOKEN: pds-g^KU_s5j_0CpH^iTAHtrojpIVBkdIjqeM1FI6G5wVNnpWML6iHOzqQd+M=
WHITELIST_SLOTS: '2'
WORLD_PRESET: DST_CAVE
PAUSE_WHEN_EMPTY: 'true'
stdin_open: true
volumes:
- dst-data-volume:/var/lib/dsta/cluster
tty: true
ports:
- 11000:11000/udp
command:
- dst-server
- start
- --update=all
labels:
io.rancher.scheduler.affinity:host_label: dst=caves
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment