Don't Starve Together Dedicated Server: Dockerized!
- Git
- Docker
- Docker Compose
git clone https://github.com/pablo-moreno/dst-server.git && cd dst-server
Create "cluster_token.txt" file with your server token:
echo "yourtoken" > cluster_token.txt
Set your server name, your password and your server description in cluster/cluster.ini file:
[NETWORK]
...
cluster_password = <yourpassword>
cluster_description = <yourdescription>
cluster_name = <yourservername>
Customize your settings in cluster/(Caves|Master)/leveldataoverride.lua (See default_setup.lua)
docker run \
-v ~/dst-data/Master/backup:/root/.klei/DoNotStarveTogether/Server/Master/backup \
-v ~/dst-data/Master/save:/root/.klei/DoNotStarveTogether/Server/Master/save \
-v ~/dst-data/Caves/backup:/root/.klei/DoNotStarveTogether/Server/Caves/backup \
-v ~/dst-data/Caves/save:/root/.klei/DoNotStarveTogether/Server/Caves/save \
dst
Open Don't Starve Together, browse for your server and connect.