From acb9f5ec230f1f222cc3785772120a6ea75af048 Mon Sep 17 00:00:00 2001 From: Yann Stepienik <7872597+azukaar@users.noreply.github.com> Date: Sat, 21 Oct 2023 13:03:23 +0100 Subject: [PATCH] Update cosmos-compose.json --- servapps/Immich/cosmos-compose.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/servapps/Immich/cosmos-compose.json b/servapps/Immich/cosmos-compose.json index 7bcd7671..259eadb6 100644 --- a/servapps/Immich/cosmos-compose.json +++ b/servapps/Immich/cosmos-compose.json @@ -35,9 +35,11 @@ "DB_USERNAME=immich", "DB_PASSWORD={Passwords.0}", "DB_DATABASE_NAME=immich", - "REDIS_HOSTNAME={ServiceName}-redis" + "REDIS_HOSTNAME={ServiceName}-redis", + "REDIS_PASSWORD={Passwords.0}" ], "labels": { + "cosmos-persistent-env": "REDIS_PASSWORD, DB_PASSWORD, DB_USERNAME, DB_DATABASE_NAME", "cosmos-force-network-secured": "true", "cosmos-auto-update": "true", "cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Immich/icon.png" @@ -86,6 +88,7 @@ "apparmor:unconfined" ], "labels": { + "cosmos-persistent-env": "POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD", "cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Immich/icon.png" }, "networks": { @@ -110,6 +113,7 @@ "hostname": "{ServiceName}-redis", "restart": "unless-stopped", "labels": { + "cosmos-persistent-env": "redis_PASSWORD", "cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Immich/icon.png" }, "networks": { @@ -124,7 +128,6 @@ ], "environment": [ "redis_DB=immich", - "redis_USER=immich", "redis_PASSWORD={Passwords.0}" ] }