Update game-servers.nix

This commit is contained in:
ediblerope 2026-01-25 12:49:15 +00:00 committed by GitHub
parent cbdb68aed9
commit 7183ccb02c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,6 @@
environment = { environment = {
SERVER_NAME = "Nordhammer.it Hytale Server"; SERVER_NAME = "Nordhammer.it Hytale Server";
MAX_PLAYERS = "50"; MAX_PLAYERS = "50";
MEMORY = "8G"; # Increased from 4G to 8G
ENABLE_BACKUP = "true"; ENABLE_BACKUP = "true";
BACKUP_FREQUENCY = "30"; BACKUP_FREQUENCY = "30";
PASSWORD = "DukeSmells"; PASSWORD = "DukeSmells";
@ -20,6 +19,8 @@
]; ];
extraOptions = [ extraOptions = [
"--stop-timeout=30" "--stop-timeout=30"
"--memory=16g" # Docker memory limit
"--memory-swap=16g" # Prevent swap usage
]; ];
}; };
}; };