mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
chore(deployment): add healthcheck option for DB (#25024)
This commit is contained in:
parent
21f7314907
commit
b7bb118c00
3 changed files with 6 additions and 0 deletions
|
|
@ -146,6 +146,8 @@ services:
|
|||
ports:
|
||||
- 5432:5432
|
||||
shm_size: 128mb
|
||||
healthcheck:
|
||||
disable: false
|
||||
# set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics
|
||||
# immich-prometheus:
|
||||
# container_name: immich_prometheus
|
||||
|
|
|
|||
|
|
@ -77,6 +77,8 @@ services:
|
|||
- 5432:5432
|
||||
shm_size: 128mb
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
|
||||
# set IMMICH_TELEMETRY_INCLUDE=all in .env to enable metrics
|
||||
immich-prometheus:
|
||||
|
|
|
|||
|
|
@ -69,6 +69,8 @@ services:
|
|||
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
|
||||
shm_size: 128mb
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
|
||||
volumes:
|
||||
model-cache:
|
||||
|
|
|
|||
Loading…
Reference in a new issue