Code Monkey home page Code Monkey logo

7days-docker's Introduction

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

7days-docker's People

Contributors

cbrgm avatar grimthereaper avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.