immich-server longer stratup probe
This commit is contained in:
@@ -33,6 +33,16 @@ spec:
|
|||||||
REDIS_PORT: "6379"
|
REDIS_PORT: "6379"
|
||||||
IMMICH_MACHINE_LEARNING_URL: http://immich-ml:3003
|
IMMICH_MACHINE_LEARNING_URL: http://immich-ml:3003
|
||||||
probes:
|
probes:
|
||||||
|
# first boot runs DB migrations + vector index setup, which
|
||||||
|
# can take a while - without a startup probe the default
|
||||||
|
# liveness probe (periodSeconds=10, failureThreshold=3) kills
|
||||||
|
# the container ~30s in, well before it's finished binding
|
||||||
|
# the port, causing an endless restart loop.
|
||||||
|
startup:
|
||||||
|
enabled: true
|
||||||
|
spec:
|
||||||
|
periodSeconds: 5
|
||||||
|
failureThreshold: 60
|
||||||
liveness:
|
liveness:
|
||||||
enabled: true
|
enabled: true
|
||||||
readiness:
|
readiness:
|
||||||
|
|||||||
Reference in New Issue
Block a user