Update FredOS-Mediaserver.nix
This commit is contained in:
parent
83666e7e7d
commit
fdc8b680aa
1 changed files with 0 additions and 24 deletions
|
|
@ -81,30 +81,6 @@
|
|||
};
|
||||
|
||||
|
||||
virtualisation.oci-containers = {
|
||||
backend = "docker";
|
||||
|
||||
containers."hytale-server" = {
|
||||
image = "ghcr.io/terkea/hytale-server:latest";
|
||||
ports = [ "5520:5520/udp" ];
|
||||
environment = {
|
||||
SERVER_NAME = "Nordhammer.it Hytale Server";
|
||||
MAX_PLAYERS = "50";
|
||||
MEMORY = "4G";
|
||||
ENABLE_BACKUP = "true";
|
||||
BACKUP_FREQUENCY = "30";
|
||||
PASSWORD = "DukeSmells";
|
||||
};
|
||||
volumes = [
|
||||
"/home/fred/docker/hytale-server/hytale-data:/data"
|
||||
];
|
||||
extraOptions = [
|
||||
"--interactive=false"
|
||||
"--tty=false"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Also make sure to open the firewall port
|
||||
networking.firewall.allowedUDPPorts = [ 5520 ];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue