more openhab features
This commit is contained in:
@@ -24,13 +24,18 @@ in {
|
|||||||
OPENHAB_HTTP_PORT = "8080";
|
OPENHAB_HTTP_PORT = "8080";
|
||||||
};
|
};
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
# "--network=host"
|
"--network=host"
|
||||||
|
"--net=host"
|
||||||
|
"--cap-add=NET_ADMIN"
|
||||||
|
"--cap-add=NET_RAW"
|
||||||
|
"--no-healthcheck"
|
||||||
];
|
];
|
||||||
overrides = {
|
overrides = {
|
||||||
volumes = [
|
volumes = [
|
||||||
"${serverCfg.configPath}/openhab/conf:/openhab/conf"
|
"${serverCfg.configPath}/openhab/conf:/openhab/conf"
|
||||||
"${serverCfg.configPath}/openhab/userdata:/openhab/userdata"
|
"${serverCfg.configPath}/openhab/userdata:/openhab/userdata"
|
||||||
"${serverCfg.configPath}/openhab/addons:/opt/openhab/addons"
|
"${serverCfg.configPath}/openhab/addons:/opt/openhab/addons"
|
||||||
|
"/var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user