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
b8dde2846c
commit
c7134b6374
2 changed files with 10 additions and 0 deletions
|
|
@ -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