fix network issues
This commit is contained in:
parent
cc9279100e
commit
f4e2ae3839
@ -40,7 +40,9 @@ services:
|
||||
healthcheck:
|
||||
disable: false
|
||||
networks:
|
||||
traefik_traefik:
|
||||
- traefik_traefik
|
||||
- immich
|
||||
|
||||
|
||||
immich-machine-learning:
|
||||
container_name: immich_machine_learning
|
||||
@ -54,6 +56,8 @@ services:
|
||||
- model-cache:/cache
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- immich
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
@ -64,6 +68,8 @@ services:
|
||||
healthcheck:
|
||||
test: redis-cli ping || exit 1
|
||||
restart: always
|
||||
networks:
|
||||
- immich
|
||||
|
||||
database:
|
||||
container_name: immich_postgres
|
||||
@ -76,6 +82,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:
|
||||
- immich
|
||||
healthcheck:
|
||||
test: >-
|
||||
pg_isready --dbname="$${POSTGRES_DB}" --username="$${POSTGRES_USER}" || exit 1;
|
||||
@ -102,5 +110,6 @@ volumes:
|
||||
immich:
|
||||
|
||||
networks:
|
||||
immich:
|
||||
traefik_traefik:
|
||||
external: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user