Rename some secrets

This commit is contained in:
William 2023-07-26 17:00:20 -03:00
parent a36c3c3a29
commit 8bb77005b3
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@
image = "docker.io/mxpv/podsync:latest";
environment = { TZ = "America/Bahia"; };
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" ];
};
@ -16,5 +16,5 @@
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;
}