fix
This commit is contained in:
@@ -80,7 +80,7 @@ in {
|
|||||||
"${serverCfg.path.config}/influxdb/:/app-root/config:rw"
|
"${serverCfg.path.config}/influxdb/:/app-root/config:rw"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
} else {
|
} else builder.mkContainer {
|
||||||
tmpfs = true;
|
tmpfs = true;
|
||||||
authentik = true;
|
authentik = true;
|
||||||
subdomain = containerCfg.subdomain;
|
subdomain = containerCfg.subdomain;
|
||||||
@@ -122,7 +122,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
setup = {
|
setup = {
|
||||||
trigger = "server";
|
trigger = "db";
|
||||||
envFile = config.sops.secrets."INFLUX".path;
|
envFile = config.sops.secrets."INFLUX".path;
|
||||||
script = pkgs.writeShellScript "setup" ''
|
script = pkgs.writeShellScript "setup" ''
|
||||||
cat > ${serverCfg.path.config}/influxdb/config.json << EOF
|
cat > ${serverCfg.path.config}/influxdb/config.json << EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user