7dtd dedicated server linux

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Linux based Docker image containing a Dedicated Server for 7 Days to Die.

License

Renegade-Master/7_days_to_die-dedicated-server

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

Читайте также:  Linux in console mode

README.md

7 Days to Die Dedicated Server

Note: This image is not officially supported by Valve, nor by The Fun Pimps.

If issues are encountered, please report them on the GitHub repository

Dedicated Server for 7 Days to Die using Docker, and optionally Docker-Compose.
Built almost from scratch to be the smallest 7 Days to Die Dedicated Server around!

The server can be run using plain Docker, or using Docker-Compose. The end-result is the same, but Docker-Compose is recommended.

Argument Description Values Default
GAME_VERSION Game version to serve [a-zA-Z0-9_]+ public
PUBLIC_SERVER Is the server displayed Publicly 3 2
QUERY_PORT Port for other players to connect to 1000 — 65535 26900
SERVER_NAME Publicly visible Server Name [a-zA-Z0-9]+ 7DaysToDieServer
SERVER_DESC Publicly visible Server Description [a-zA-Z0-9]+ 7DaysToDieServer
SERVER_PASSWORD Server password [a-zA-Z0-9]+
SERVER_LOG_FILE Path to store log file [a-zA-Z0-9]+
MAX_PLAYERS Maximum amount of player to be permitted into the game 7+ 8

The following are instructions for running the server using the Docker image.

    Acquire the image locally:
    Pull the image from DockerHub:

docker pull renegademaster/7_days_to_die-dedicated-server:tagname>
git clone https://github.com/Renegade-Master/7_days_to_die-dedicated-server.git \ && cd 7_days_to_die-dedicated-server docker build -t renegademaster/7_days_to_die-dedicated-server:tag> -f docker/7_days_to_die-dedicated-server.Dockerfile .
mkdir 7DTDConfig 7DTDSaves 7DTDServer docker run --detach \ --mount type=bind,source="$(pwd)/7DTDServer",target=/home/steam/7DTDServer \ --mount type=bind,source="$(pwd)/7DTDConfig",target=/home/steam/7DTDConfig \ --publish 26900:26900/tcp --publish 26900:26900/udp --publish 26901:26901/udp --publish 26902:26902/udp \ --name 7dtd-dedicated_server \ --user=$(id -u):$(id -g) \ [--env=GAME_VERSION=value>] \ [--env=QUERY_PORT=value>] \ [--env=SERVER_NAME=value>] \ [--env=SERVER_PASSWORD=value>] \ [--env=SERVER_LOG_FILE=value>] \ [--env=MAX_PLAYERS=value>] \ renegademaster/7_days_to_die-dedicated-server[:tagname>]

The following are instructions for running the server using Docker-Compose.

git clone https://github.com/Renegade-Master/7_days_to_die-dedicated-server.git \ && cd 7_days_to_die-dedicated-server
printf "UID: %s\nGID: %s\n" $(id -u) $(id -g)
mkdir 7DTDConfig 7DTDSaves 7DTDServer docker-compose up --build --detach

About

Linux based Docker image containing a Dedicated Server for 7 Days to Die.

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Provides a dedicated linux server for 7 Days to Die running inside a Docker container.

License

Didstopia/7dtd-server

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Modify docker-compose.yml to enable update checking

Git stats

Files

Failed to load latest commit information.

README.md

7 Days to Die server that runs inside a Docker container

This image will always install/update to the latest steamcmd and 7 Days to Die server, all you have to do to update your server is to redeploy the container.

Also note that the entire /steamcmd/7dtd can be mounted on the host system, which would avoid having to reinstall the game when updating or recreating the container.

  1. Optionally set the SEVEN_DAYS_TO_DIE_SERVER_STARTUP_ARGUMENTS environment variable to match your preferred server arguments (defaults are set to «-logfile /dev/stdout -quit -batchmode -nographics -dedicated» , note how we’re logging to stdout)
  2. Optionally set the SEVEN_DAYS_TO_DIE_CONFIG_FILE environment variable to a different configuration file (default is /app/.local/share/7DaysToDie/serverconfig.xml )
  3. Mount /steamcmd/7dtd and /app/.local/share/7DaysToDie somewhere on the host to keep your data safe (first path has the server files, while the second path has the config and save files)
  4. Run the server once to generate the default configuration file, then optionally edit it at /app/.local/share/7DaysToDie/serverconfig.xml to your liking

You can control the startup mode by using SEVEN_DAYS_TO_DIE_START_MODE . This determines if the server should update and then start (mode 0), only update (mode 1) or only start (mode 2)) The default value is «0» .

Note that you should also enable telnet and optionally modify the SEVEN_DAYS_TO_DIE_TELNET_PORT and SEVEN_DAYS_TO_DIE_TELNET_PASSWORD environment variables accordingly, so the container can properly send the shutdown command to the server when the proper signal has been received (it uses telnet for this).

One additional feature you can enable is fully automatic updates, meaning that once a server update hits Steam, it’ll restart the server and trigger the automatic update. You can enable this by setting SEVEN_DAYS_TO_DIE_UPDATE_CHECKING to «1» .
You can also use a different branch via environment variables. For example, to install the latest experimental version, you would simply set SEVEN_DAYS_TO_DIE_BRANCH to latest_experimental (this is set to public by default).

If using Docker for Windows and the File System passthrough option, make sure to add the git repo drive letter as a shared drive through the Docker GUI.

Источник

Оцените статью
Adblock
detector