Update FredOS-Mediaserver.nix
This commit is contained in:
parent
b3c7aab1d7
commit
828ef4272b
1 changed files with 13 additions and 14 deletions
|
|
@ -81,7 +81,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.oci-containers.backend = "docker";
|
|
||||||
virtualisation.oci-containers.containers."hytale-server" = {
|
virtualisation.oci-containers.containers."hytale-server" = {
|
||||||
image = "ghcr.io/terkea/hytale-server:latest";
|
image = "ghcr.io/terkea/hytale-server:latest";
|
||||||
ports = [ "5520:5520/udp" ];
|
ports = [ "5520:5520/udp" ];
|
||||||
|
|
@ -93,8 +92,8 @@
|
||||||
volumes = [
|
volumes = [
|
||||||
"/home/fred/docker/hytale-server/hytale-data:/data"
|
"/home/fred/docker/hytale-server/hytale-data:/data"
|
||||||
];
|
];
|
||||||
# tty and stdin_open equivalent in NixOS OCI module
|
# Remove --interactive, keep only --tty
|
||||||
extraOptions = [ "--tty" "--interactive" ];
|
extraOptions = [ "--tty" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open firewall for web traffic
|
# Open firewall for web traffic
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue