Skip to main content

seven-days-to-die

A Docker image that manages a Seven Days to Die dedicated server. Game content and mods are downloaded on first run and cached so subsequent container restarts skip re-downloading. The image handles Steam-based installation, optional mod installation from URLs, deletion of default mods, and configurable auto-restart on a fixed interval.

Environment Variables

VariableDefaultDescription
CACHE_PATH/cacheDirectory where downloaded game and mod files are cached
DATA_PATH/dataPersistent server data directory (saves, configs, etc.)
GAME_PATH/gameDirectory where the game is installed
MANIFEST_IDSteam manifest ID to pin a specific game version
DELETE_DEFAULT_MODSIf set, removes the game's default mods before installing custom ones
MOD_URLSSpace-separated URLs of mod archives to download and install
ROOT_URLSSpace-separated URLs of files to install at the game root
AUTO_RESTARTDuration between automatic server restarts (e.g. 24h)
UPDATE_CHECK_INTERVALHow often to check for a new game version and restart to apply it (e.g. 1h)