mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: koillection images lost in ephemeral storage
This commit is contained in:
parent
234a5f2a99
commit
90efa8e67f
2 changed files with 10 additions and 0 deletions
|
|
@ -9065,6 +9065,7 @@ To get other URLs (token, etc.), use https://<kanidmDomain>/oauth2/openid/<clien
|
|||
serviceName = "koillection";
|
||||
servicePort = 2282;
|
||||
serviceDomain = config.repo.secrets.common.services.domains.${serviceName};
|
||||
serviceDir = "/Vault/data/koillection";
|
||||
|
||||
postgresUser = config.systemd.services.postgresql.serviceConfig.User; # postgres
|
||||
postgresPort = config.services.postgresql.settings.port; # 5432
|
||||
|
|
@ -9096,6 +9097,10 @@ To get other URLs (token, etc.), use https://<kanidmDomain>/oauth2/openid/<clien
|
|||
"${toString servicePort}:80"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"${serviceDir}/uploads:/uploads"
|
||||
];
|
||||
|
||||
environment = {
|
||||
APP_DEBUG = "0";
|
||||
APP_ENV = "prod";
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ let
|
|||
serviceName = "koillection";
|
||||
servicePort = 2282;
|
||||
serviceDomain = config.repo.secrets.common.services.domains.${serviceName};
|
||||
serviceDir = "/Vault/data/koillection";
|
||||
|
||||
postgresUser = config.systemd.services.postgresql.serviceConfig.User; # postgres
|
||||
postgresPort = config.services.postgresql.settings.port; # 5432
|
||||
|
|
@ -36,6 +37,10 @@ in
|
|||
"${toString servicePort}:80"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"${serviceDir}/uploads:/uploads"
|
||||
];
|
||||
|
||||
environment = {
|
||||
APP_DEBUG = "0";
|
||||
APP_ENV = "prod";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue