Rename some secrets
This commit is contained in:
parent
a36c3c3a29
commit
8bb77005b3
2 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
configureRedis = true;
|
configureRedis = true;
|
||||||
https = true;
|
https = true;
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
secretFile = config.age.secrets.nextcloud-secrets.path;
|
secretFile = config.age.secrets."nextcloud-secrets.json".path;
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
caching = {
|
caching = {
|
||||||
apcu = true;
|
apcu = true;
|
||||||
|
|
@ -32,7 +32,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
nextcloud-secrets = {
|
"nextcloud-secrets.json" = {
|
||||||
file = ../../../secrets/nextcloud-secrets.json.age;
|
file = ../../../secrets/nextcloud-secrets.json.age;
|
||||||
owner = "nextcloud";
|
owner = "nextcloud";
|
||||||
group = "hosted";
|
group = "hosted";
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
image = "docker.io/mxpv/podsync:latest";
|
image = "docker.io/mxpv/podsync:latest";
|
||||||
environment = { TZ = "America/Bahia"; };
|
environment = { TZ = "America/Bahia"; };
|
||||||
ports = [ "${config.ports.podsync}:80" ];
|
ports = [ "${config.ports.podsync}:80" ];
|
||||||
volumes = [ "${config.age.secrets.podsync.path}:/app/config.toml" ];
|
volumes = [ "${config.age.secrets."podsync.toml".path}:/app/config.toml" ];
|
||||||
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
extraOptions = [ "--label=io.containers.autoupdate=registry" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -16,5 +16,5 @@
|
||||||
locations."/".proxyPass = "http://127.0.0.1:${config.ports.podsync}";
|
locations."/".proxyPass = "http://127.0.0.1:${config.ports.podsync}";
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets.podsync.file = ../../../secrets/podsync.toml.age;
|
age.secrets."podsync.toml".file = ../../../secrets/podsync.toml.age;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue