fix: update Immich healthcheck to use curl and limit ffmpeg threads
This commit is contained in:
@@ -18,9 +18,10 @@ services:
|
|||||||
DB_PASSWORD: ${DB_PASSWORD}
|
DB_PASSWORD: ${DB_PASSWORD}
|
||||||
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
|
DB_DATABASE_NAME: ${DB_DATABASE_NAME}
|
||||||
REDIS_HOSTNAME: immich-redis
|
REDIS_HOSTNAME: immich-redis
|
||||||
MACHINE_LEARNING_URL: http://100.65.185.12:3003
|
IMMICH_MACHINE_LEARNING_ENABLED: "false"
|
||||||
|
IMMICH_MEDIA_FFMPEG_THREADS: 2
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user