Last active
June 7, 2017 18:29
-
-
Save CaptEmulation/e498e2b5627c9e047e6cc6ab65605820 to your computer and use it in GitHub Desktop.
Don't Starve Together DST Academy w/ Caves rancher setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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