This commit is contained in:
soraefir
2026-05-21 02:06:43 +02:00
parent 742760afa7
commit a8bbbdc518

View File

@@ -7,19 +7,19 @@ in {
sops = false;
db = false;
paths = [
{ path="${serverCfg.configPath}/openhab/conf"; owner="1000:1000"; mode = "0755"; }
{ path="${serverCfg.configPath}/openhab/userdata"; owner="1000:1000"; mode = "0755"; }
{ path="${serverCfg.configPath}/openhab/addons"; owner="1000:1000"; mode = "0755"; }
{ path="${serverCfg.configPath}/openhab/conf"; owner="9001:9001"; mode = "0755"; }
{ path="${serverCfg.configPath}/openhab/userdata"; owner="9001:9001"; mode = "0755"; }
{ path="${serverCfg.configPath}/openhab/addons"; owner="9001:9001"; mode = "0755"; }
];
containers = {
server = builder.mkContainer {
subdomain = containerCfg.subdomain;
image = "openhab/openhab:${version}-debian";
image = "openhab/openhab:${version}";
port = 8080;
extraEnv = {
USER_ID = "1000";
GROUP_ID = "1000";
# USER_ID = "1000";
# GROUP_ID = "1000";
CRYPTO_POLICY = "unlimited";
OPENHAB_HTTP_PORT = "8080";
};