fix: update Immich healthcheck to use curl and limit ffmpeg threads

This commit is contained in:
Gan, Jimmy
2026-03-15 00:22:05 +08:00
parent d69b744ae7
commit d0078f7e9d
+3 -2
View File
@@ -18,9 +18,10 @@ services:
DB_PASSWORD: ${DB_PASSWORD}
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
REDIS_HOSTNAME: immich-redis
MACHINE_LEARNING_URL: http://100.65.185.12:3003
IMMICH_MACHINE_LEARNING_ENABLED: "false"
IMMICH_MEDIA_FFMPEG_THREADS: 2
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:2283/api/server/ping"]
test: ["CMD-SHELL", "curl -f http://localhost:2283/api/server/ping || exit 1"]
interval: 30s
timeout: 5s
retries: 3