Change restart policy to 'unless-stopped' for immich

This commit is contained in:
JG2401
2026-10-21 19:55:40 +02:00
committed by GitHub
parent d98c4dafb4
commit 6c15bd9d86
+4 -4
View File
@@ -35,7 +35,7 @@ services:
REDIS_DBINDEX: ${REDIS_DBINDEX} REDIS_DBINDEX: ${REDIS_DBINDEX}
TZ: ${TZ} TZ: ${TZ}
UPLOAD_LOCATION: ${UPLOAD_LOCATION} UPLOAD_LOCATION: ${UPLOAD_LOCATION}
restart: always restart: unless-stopped
healthcheck: healthcheck:
test: test:
[ [
@@ -60,7 +60,7 @@ services:
REDIS_HOSTNAME: ${REDIS_HOSTNAME} REDIS_HOSTNAME: ${REDIS_HOSTNAME}
REDIS_PORT: ${REDIS_PORT} REDIS_PORT: ${REDIS_PORT}
REDIS_DBINDEX: ${REDIS_DBINDEX} REDIS_DBINDEX: ${REDIS_DBINDEX}
restart: always restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3003/ping"] test: ["CMD", "curl", "-f", "http://localhost:3003/ping"]
interval: 30s interval: 30s
@@ -81,7 +81,7 @@ services:
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
restart: always restart: unless-stopped
immich-database: immich-database:
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
@@ -118,7 +118,7 @@ services:
'-c', '-c',
'wal_compression=on', 'wal_compression=on',
] ]
restart: always restart: unless-stopped
networks: networks:
dokploy-network: dokploy-network: