chore(deployment): add healthcheck option for DB (#25024)

This commit is contained in:
Matthew Momjian
2026-01-05 08:30:33 -05:00
committed by GitHub
parent 21f7314907
commit b7bb118c00
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -146,6 +146,8 @@ services:
ports: ports:
- 5432:5432 - 5432:5432
shm_size: 128mb shm_size: 128mb
healthcheck:
disable: false
# set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics # set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics
# immich-prometheus: # immich-prometheus:
# container_name: immich_prometheus # container_name: immich_prometheus
+2
View File
@@ -77,6 +77,8 @@ services:
- 5432:5432 - 5432:5432
shm_size: 128mb shm_size: 128mb
restart: always restart: always
healthcheck:
disable: false
# set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics # set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics
immich-prometheus: immich-prometheus:
+2
View File
@@ -69,6 +69,8 @@ services:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb shm_size: 128mb
restart: always restart: always
healthcheck:
disable: false
volumes: volumes:
model-cache: model-cache: