You want to host your own dedicated 7 Days To Die Server? Best in a docker container? Then you've come to the right place!
This small side project of mine provides a Dockerfile that will always install and update to the latest steamcmd and 7 Days to Die server files. The entire server runs inside a docker container and allows you to easily play with your friends or host a public server. The server can easily be updated and managed by using make.
Follow the steps to get startet!
Clone this repository and its content using
git clone https://github.com/cbrgm/7days-dockerEdit serverconfig.xml for server settings and adminconfig.xml for user permissions. Please see serverconfig.xml explanation and serveradmin.xml explanation for further details.
Build a new image for your 7days-docker using the following command within the project directory:
make buildThis may take quite a while, depending on your bandwidth (5-15 min). The image will download all relevant server files automatically from Steam.
When everything is done, start your server using
make runYou can now connect to your server using yourserver-ip/domain and port 26900 (standard port) at the 7 Days To Die lobby browser. You can also connect to your webconfigpanel using http://yourdomain-or-ip:18500
To start the server use:
make startTo stop the server use:
make stopthis will copy a folder Saves to the current directory you are in. The Saves folder contains all world and playerdata.
make backupYou have suggestions for improvements or features you miss? You are welcome to express all your wishes here. Just create a new Issue and it will be taken care of quickly!
This script was originally developed by Christian Bargmann. I wanted to play 7 Days to Die together with my friends, this is about how I ended up :-)