proxitok: add cache folder
This commit is contained in:
parent
6f4c6c8072
commit
ae12d31336
2 changed files with 7 additions and 0 deletions
Binary file not shown.
|
@ -11,6 +11,9 @@
|
||||||
depends_on = [ "proxitok-signer" ];
|
depends_on = [ "proxitok-signer" ];
|
||||||
ports = [ "127.0.0.1:8005:80" ];
|
ports = [ "127.0.0.1:8005:80" ];
|
||||||
env_file = [ config.age.secrets.proxitok-environment.path ];
|
env_file = [ config.age.secrets.proxitok-environment.path ];
|
||||||
|
volumes = [
|
||||||
|
"/etc/container-proxitok/cache:/cache"
|
||||||
|
];
|
||||||
labels = {
|
labels = {
|
||||||
"com.centurylinklabs.watchtower.enable" = "true";
|
"com.centurylinklabs.watchtower.enable" = "true";
|
||||||
};
|
};
|
||||||
|
@ -30,6 +33,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d /etc/container-proxitok/cache 0755 33 33"
|
||||||
|
];
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
|
|
Loading…
Reference in a new issue