Parameter |
Function |
/path/to/7DaysToDie:/home/sdtdserver/.local/share/7DaysToDie/ |
7DaysToDie saves, where maps are store. |
/path/to/ServerFiles:/home/sdtdserver/serverfiles/ |
7DaysToDie server config files. |
/path/to/Logs:/home/sdtdserver/log/ |
7DaysToDie server log files. |
/path/to/BackupFolder:/home/sdtdserver/lgsm/backup/ |
7DaysToDie server backups files. |
/path/to/LGSM-Config:/home/sdtdserver/lgsm/config-lgsm/sdtdserver/ |
LGSM config files. More info |
Parameter |
Function |
26900:26900/tcp |
Default 7DaysToDie port required |
26900:26900/udp |
Default 7DaysToDie port required |
26901:26901/udp |
Default 7DaysToDie port required |
26902:26902/udp |
Default 7DaysToDie port required |
8080:8080/tcp |
Default 7DaysToDie webadmin port optional, if you use webadmin remember to change password in /path/to/ServerFiles/sdtdserver.xml |
8081:8081/tcp |
Default 7DaysToDie telnet port optional |
8082:8082/tcp |
Default Alloc Fixes Map GUI webserver port optional |
Parameter |
Function |
Values |
START_MODE=1 |
Start mode of the container required |
Start Modes |
TimeZone=Europe/Madrid |
for TimeZone recomendable |
TZ Database |
PUID=1000 |
for UserID |
More info |
PGID=1000 |
for GroupID |
More info |
--restart unless-stopped |
Restart container always unlesss stopped manually NEVER USE WITH START_MODE=0, 2 or 4 |
Restart Policy |
CHANGE_CONFIG_DIR_OWNERSHIP |
Disable chown of config dirs |
More info |
Parameter |
Function |
Values |
VERSION=stable |
Change between 7 days to die versions/branches optional |
Branches |
Parameter |
Function |
Values |
BACKUP=NO |
Backup server at 5 AM (Only the latest 5 backups will be keep, maximum 30 days) More info optional |
YES, NO |
MONITOR=NO |
Monitor server status, if server crash this will restart it More info optional |
YES, NO |
TEST_ALERT=NO |
Test alerts at start of server optional |
YES, NO |
Parameter |
Function |
Values |
UPDATE_MODS=NO |
Allow mods to be update before server start must be used with each mod XXX_UPDATE=YES optional |
YES, NO |
Parameter |
Function |
Values |
MODS_URLS="" |
Allow mods to be installed from URL, support zip and rar optional |
"URL1,URL2" |
Parameter |
Function |
Values |
UNDEAD_LEGACY=NO |
Install Undead Legacy, if DARKNESS_FALLS it's enable too will not be installed optional |
YES, NO |
UNDEAD_LEGACY_VERSION=stable |
Install Undead Legacy Versions, CHECK BUILDS COMPATIBILITY optional |
EXP, STABLE |
UNDEAD_LEGACY_UPDATE=NO |
Update Undead Legacy, on server install, requiere UPDATE_MODS=YES, if you enable this environment, the mod will be update every time you start the server and will take sometime. optional |
YES, NO |
UNDEAD_LEGACY_URL=False |
Install a custom Undead Legacy optional |
Must be a valid url, this method don't add the custom XML settings of UL |
Parameter |
Function |
Values |
DARKNESS_FALLS=NO |
Install Darkness Falls, if UNDEAD_LEGACY it's enable too will not be installed optional |
YES, NO |
DARKNESS_FALLS_UPDATE=NO |
Update Darkness Falls, on server install, requiere UPDATE_MODS=YES, if you enable this environment, the mod will be update every time you start the server and will take sometime. optional |
YES, NO |
DARKNESS_FALLS_URL=False |
Install a custom Darkness Falls Version, CHECK BUILDS COMPATIBILITY optional |
Must be a git url |
Parameter |
Function |
Values |
ALLOC_FIXES=NO |
Install Allocs Fixes, Alloc Fixes version will be installed according to 7 days to die branch version optional |
YES, NO |
ALLOC_FIXES_UPDATE=NO |
Update Allocs Fixes, depending of your 7 days to die version, on server install, requiere UPDATE_MODS=YES optional |
YES, NO |
Parameter |
Function |
Values |
CPM=NO |
Install CPM, CPM version will be installed according to 7 days to die branch version, this will also install Allocs Fixes optional |
YES, NO |
CPM_UPDATE=NO |
Update CPM, CPM on every server start, depending of your 7 days to die version, requiere UPDATE_MODS=YES optional |
YES, NO |
Parameter |
Function |
Values |
BEPINEX=NO |
Install BEPINEX, latest BEPINEX version will be installedoptional |
YES, NO |
BEPINEX_UPDATE=NO |
Update BEPINEX, BEPINEX on every server start, requiere UPDATE_MODS=YES optional |
YES, NO |
START_MODE |
Information |
0 |
Install server and STOP the container |
1 |
Start server |
2 |
Update server and STOP the container |
3 |
Update and start start |
4 |
Backup server and STOP the container |
Sometimes if you're running some of your volumes on a NAS, you wont be the owner of the volumes you mount, and wont have access to change their ownership. This setting will bypass trying to change ownership, otherwise the startup will fail.
IF YOU UPDATE FROM STABLE TO EXPERIMENTAL OR VICE VERSA, REMEMBER TO BACKUP FIRST YOUR SERVER TO AVOID ANY ERRORS.