/7days-docker

Docker Image for running a 7 Days To Die dedicated Gameserver in a Container!

Primary LanguageDockerfileMozilla Public License 2.0MPL-2.0

7 Days to Die Dedicated Server using Docker

Description

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.

Setting up the Server

Follow the steps to get startet!

Step 1: Clone the repository!

Clone this repository and its content using

git clone https://github.com/cbrgm/7days-docker

Step 2: Edit server settings!

Edit serverconfig.xml for server settings and adminconfig.xml for user permissions. Please see serverconfig.xml explanation and serveradmin.xml explanation for further details.

Step 3: Build and image and run container!

Build a new image for your 7days-docker using the following command within the project directory:

make build

This 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 run

You 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

Administrating / Backup

Starting the server

To start the server use:

make start

Stopping the server

To stop the server use:

make stop

Create Backup of your serverfiles

this will copy a folder Saves to the current directory you are in. The Saves folder contains all world and playerdata.

make backup

Feature Request and Contributing

You 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!

Motivation

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 :-)