I built off of dstacademy/docker-dontstarvetogether and wanted to share my configuration with others.
This works on Ubuntu Server 18.04.
Note: Do not use the snap version of docker. It sucks.
- Make sure you install the proper docker, follow this or similar.
- Make sure you install the latest docker compose, use pip.
pip install docker-compose
- Make it sudo-less docker, see here
I'd recommend restarting your virtual machine.
Now you have to configure three files, see below.
You can also mess with the rest of the configuration in docker-compose.yml.
This is self explanatory, comments within.
$ cat overworld.env
TOKEN=ThisYouHaveToGenerate_SeeBelow
PASSWORD=ThisIsYourServerPassword
ADMINLIST=ThisIsYourKleiAccountID,AnotherOne,SeeBelow
$ cat underworld.env
TOKEN=ThisYouHaveToGenerate_SeeBelow
ADMINLIST=ThisIsYourKleiAccountID,AnotherOne,SeeBelow
This is a cluster token, you will need to generate it. Find it on your machine then copy and paste it into these env files.
See the wiki
A players Klei UserID can be found my clicking "Account" in the bottom right of the main menu of DST.