From 22dcae73ba41f1da37a5198c734d67854203aa61 Mon Sep 17 00:00:00 2001 From: Christoph Brandau Date: Thu, 23 Jul 2026 13:51:17 +0200 Subject: [PATCH] chore(config): make immich api key optional in compose The environment variable handling for IMMICH_API_KEY has been updated to remove strict requirement checks. This change improves setup flexibility by allowing services to start even if the API key is not explicitly defined in the .env file, assuming a default or alternative mechanism handles missing values gracefully. - Removes mandatory check for IMMICH_API_KEY environment variable --- compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index 136b100..42a6e9f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -7,7 +7,7 @@ services: restart: "no" environment: IMMICH_URL: ${IMMICH_URL:?Set IMMICH_URL in .env} - IMMICH_API_KEY: ${IMMICH_API_KEY:?Set IMMICH_API_KEY in .env} + IMMICH_API_KEY: ${IMMICH_API_KEY} IMMICH_LIBRARY_ID: ${IMMICH_LIBRARY_ID:?Set IMMICH_LIBRARY_ID in .env} EXTERNAL_ROOT: ${EXTERNAL_ROOT:-/mnt/nextcloud-photos} ALBUM_MODE: ${ALBUM_MODE:-root}