This commit is contained in:
2025-02-23 19:34:51 +01:00
parent 3d8225ec39
commit 9d0a005667

View File

@ -65,7 +65,8 @@ services:
POSTGRES_INITDB_ARGS: '--data-checksums'
volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
#- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
- /share/docker_data/immich/db:/var/lib/postgresql/data
healthcheck:
test: >-
pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;