mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-10-28 21:00:47 +00:00
Change restart policy to 'unless-stopped' for immich
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user