1
0
Fork 0

proxitok: add cache folder

This commit is contained in:
Daniel Kempkens 2023-02-28 15:22:22 +01:00
parent 6f4c6c8072
commit ae12d31336
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
2 changed files with 7 additions and 0 deletions

View file

@ -11,6 +11,9 @@
depends_on = [ "proxitok-signer" ];
ports = [ "127.0.0.1:8005:80" ];
env_file = [ config.age.secrets.proxitok-environment.path ];
volumes = [
"/etc/container-proxitok/cache:/cache"
];
labels = {
"com.centurylinklabs.watchtower.enable" = "true";
};
@ -30,6 +33,10 @@
};
};
systemd.tmpfiles.rules = [
"d /etc/container-proxitok/cache 0755 33 33"
];
services.nginx = {
enable = true;
recommendedOptimisation = true;