This commit is contained in:
traveler 2025-04-05 14:47:05 -05:00
parent 55f4a7a04f
commit 4db10d8413

View file

@ -29,6 +29,7 @@ services:
- '2283:2283' - '2283:2283'
networks: networks:
- netgrimoire - netgrimoire
- immich
depends_on: depends_on:
- redis - redis
- database - database
@ -50,7 +51,7 @@ services:
- .env - .env
restart: always restart: always
networks: networks:
- netgrimoire - immich
healthcheck: healthcheck:
disable: false disable: false
@ -58,7 +59,7 @@ services:
container_name: immich_redis container_name: immich_redis
image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae
networks: networks:
- netgrimoire - immich
healthcheck: healthcheck:
test: redis-cli ping || exit 1 test: redis-cli ping || exit 1
restart: always restart: always
@ -75,7 +76,7 @@ services:
# 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 # 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
networks: networks:
- netgrimoire - immich
healthcheck: healthcheck:
test: >- test: >-
pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1; pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;
@ -101,4 +102,6 @@ volumes:
networks: networks:
netgrimoire: netgrimoire:
external: true external: true
immich:
external: true