mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
fix: koillection images lost in ephemeral storage
This commit is contained in:
parent
026de8cd25
commit
797be8015f
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";
|
serviceName = "koillection";
|
||||||
servicePort = 2282;
|
servicePort = 2282;
|
||||||
serviceDomain = config.repo.secrets.common.services.domains.${serviceName};
|
serviceDomain = config.repo.secrets.common.services.domains.${serviceName};
|
||||||
|
serviceDir = "/Vault/data/koillection";
|
||||||
|
|
||||||
postgresUser = config.systemd.services.postgresql.serviceConfig.User; # postgres
|
postgresUser = config.systemd.services.postgresql.serviceConfig.User; # postgres
|
||||||
postgresPort = config.services.postgresql.settings.port; # 5432
|
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"
|
"${toString servicePort}:80"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"${serviceDir}/uploads:/uploads"
|
||||||
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
APP_DEBUG = "0";
|
APP_DEBUG = "0";
|
||||||
APP_ENV = "prod";
|
APP_ENV = "prod";
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ let
|
||||||
serviceName = "koillection";
|
serviceName = "koillection";
|
||||||
servicePort = 2282;
|
servicePort = 2282;
|
||||||
serviceDomain = config.repo.secrets.common.services.domains.${serviceName};
|
serviceDomain = config.repo.secrets.common.services.domains.${serviceName};
|
||||||
|
serviceDir = "/Vault/data/koillection";
|
||||||
|
|
||||||
postgresUser = config.systemd.services.postgresql.serviceConfig.User; # postgres
|
postgresUser = config.systemd.services.postgresql.serviceConfig.User; # postgres
|
||||||
postgresPort = config.services.postgresql.settings.port; # 5432
|
postgresPort = config.services.postgresql.settings.port; # 5432
|
||||||
|
|
@ -36,6 +37,10 @@ in
|
||||||
"${toString servicePort}:80"
|
"${toString servicePort}:80"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"${serviceDir}/uploads:/uploads"
|
||||||
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
APP_DEBUG = "0";
|
APP_DEBUG = "0";
|
||||||
APP_ENV = "prod";
|
APP_ENV = "prod";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue