20 lines
387 B
Nix
20 lines
387 B
Nix
{ serverIP, serverIP6 } : {
|
|
image = "jacobalberty/unifi:v8.1";
|
|
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
|
|
];
|
|
}
|