2024-05-11 11:12:40 +02:00
2021-12-30 15:56:00 +01:00

SteamCMD in Docker optimized for Unraid

This Docker will download and install SteamCMD. It will also install 7DaysToDie and run it.

Update Notice: Simply restart the container if a newer version of the game is available.

Env params

Name Value Example
STEAMCMD_DIR Folder for SteamCMD /serverdata/steamcmd
SERVER_DIR Folder for gamefile /serverdata/serverfiles
GAME_ID The GAME_ID that the container downloads at startup. If you want to use a static version of the game and not always the latest one then enter this: '294420 -beta stable_alpha19.4' or '294420 -beta latest_experimental' (without quotes) if you want to stay for example on alpha19.4. 294420
SERVERCONFIG Please change if your serverconfigfile has another name. serverconfig.xml
GAME_PARAMS Values to start the server -logfile 7DaysToDie_Data/output_log.txt $@
ENABLE_BEPINEX If you want to enable BepInEx set this variable to 'true' (without quotes). false
BACKUP_FILES Set this value to 'true' to enable the automated backup function from the container, you find the backups in '.../7dtd/Backups/'. Set to 'false' to disable the backup function. false
BACKUP_INTERVAL The backup interval in minutes 60
BACKUP_TO_KEEP Number of backups to keep 12
UID User Identifier 99
GID Group Identifier 100
VALIDATE Validates the game data false
USERNAME Leave blank for anonymous login blank
PASSWRD Leave blank for anonymous login blank

Run example

docker run --name 7DtD -d \
	-p 26900:26900 -p 26900-26903:26900-26903/udp -p 27015:27015/udp -p 8080:8080 -p 8082:8082 \
	--env 'GAME_ID=294420' \
	--env 'SERVERCONFIG=serverconfig.xml' \
	--env 'GAME_PARAMS=-logfile 7DaysToDie_Data/output_log.txt $@' \
	--env 'UID=99' \
	--env 'GID=100' \
	--volume /path/to/steamcmd:/serverdata/steamcmd \
	--volume /path/to/7dtd:/serverdata/serverfiles \
	ich777/steamcmd:7dtd

This Docker was mainly edited for better use with Unraid, if you don't use Unraid you should definitely try it!

This Docker is forked from mattieserver, thank you for this wonderfull Docker.

Support Thread: https://forums.unraid.net/topic/79530-support-ich777-gameserver-dockers/

Description
No description provided
Readme 12 MiB
Languages
Shell 92%
Dockerfile 8%