Skip to main content

single-player-tarkov

A Docker image that manages a Single Player Tarkov (SPT) server. Game content and mods are downloaded on first run and cached so subsequent container restarts skip re-downloading. The image handles SPT server installation at a specified version, optional mod installation from URLs, JSON config patching, and preservation of selected data subdirectories across reinstalls.

Environment Variables

VariableDefaultDescription
CACHE_PATH/cacheDirectory where downloaded game and mod files are cached
DATA_PATH/dataPersistent server data directory (profiles, configs, etc.)
GAME_PATH/gameDirectory where SPT is installed
VERSIONSPT version to install; uses the latest release if omitted
MOD_URLSSpace-separated URLs of mod archives to download and install
CONFIG_PATCHESJSON map of config file paths to arrays of JSON Patch operations to apply
DATA_SUBDIRSSpace-separated subdirectory names under DATA_PATH to persist across reinstalls