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