make omada network host

This commit is contained in:
2023-12-01 20:42:30 +01:00
parent d0cb65965d
commit cfa0121853
2 changed files with 8 additions and 1 deletions

View File

@@ -17,6 +17,13 @@
"/var/lib/omada/data:/opt/tplink/EAPController/data" "/var/lib/omada/data:/opt/tplink/EAPController/data"
"/var/lib/omada/logs:/opt/tplink/EAPController/logs" "/var/lib/omada/logs:/opt/tplink/EAPController/logs"
]; ];
ports = [
"8088:8088"
"8043:8043"
];
extraOptions = [
"--network=host"
];
}; };
}; };
}; };

View File

@@ -12,7 +12,7 @@ in {
network_interface = "server"; network_interface = "server";
ipv6_enabled = false; ipv6_enabled = false;
internal = false; internal = false;
dns_enabled = true; dns_enabled = false;
subnets = [{ subnets = [{
gateway = "10.42.97.1"; gateway = "10.42.97.1";
subnet = "10.42.97.0/24"; subnet = "10.42.97.0/24";