safd
This commit is contained in:
parent
95f877d822
commit
58507a995d
1 changed files with 12 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ services:
|
|||
- .env
|
||||
ports:
|
||||
- '2283:2283'
|
||||
networks:
|
||||
- netgrimoire
|
||||
depends_on:
|
||||
- redis
|
||||
- database
|
||||
|
|
@ -43,12 +45,16 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
networks:
|
||||
- netgrimoire
|
||||
healthcheck:
|
||||
disable: false
|
||||
|
||||
redis:
|
||||
container_name: immich_redis
|
||||
image: docker.io/redis:6.2-alpine@sha256:905c4ee67b8e0aa955331960d2aa745781e6bd89afc44a8584bfd13bc890f0ae
|
||||
networks:
|
||||
- netgrimoire
|
||||
healthcheck:
|
||||
test: redis-cli ping || exit 1
|
||||
restart: always
|
||||
|
|
@ -64,6 +70,8 @@ services:
|
|||
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
|
||||
networks:
|
||||
- netgrimoire
|
||||
healthcheck:
|
||||
test: >-
|
||||
pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;
|
||||
|
|
@ -86,3 +94,7 @@ services:
|
|||
|
||||
volumes:
|
||||
model-cache:
|
||||
|
||||
networks:
|
||||
netgrimoire:
|
||||
external: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue