nix_config/machines/cj/unifi.nix
2026-01-28 09:19:32 -05:00

20 lines
388 B
Nix

{ serverIP, serverIP6 } : {
image = "jacobalberty/unifi:v10.0";
ports = [
"8080:8080"
"8443:8443"
"3478:3478/udp"
];
environment = {
TZ = "America/New_York";
};
volumes = [
"/serverdata/unifi:/unifi"
];
extraOptions = [
"--cap-add=NET_ADMIN"
"--network=host"
#"--no-hosts" # do not populate internal /etc/hosts with container host's
];
}