fix: update network configurations to use immich_net for services (docker-compose.yml)

This commit is contained in:
2025-11-22 15:03:42 -05:00
parent a0bb55116e
commit ae6dbd2bc6

View File

@@ -38,7 +38,11 @@ services:
homelab:
aliases:
- immich # how to add multiple aliases
- immich-server
- immich-server
immich_net:
aliases:
- immich # how to add multiple aliases
- immich-server
immich-machine-learning:
container_name: immich_machine_learning
@@ -56,7 +60,7 @@ services:
healthcheck:
disable: false
networks: # Specify network for container
- homelab
- immich_net
redis:
container_name: immich_redis
@@ -65,7 +69,7 @@ services:
test: redis-cli ping || exit 1
restart: always
networks: # Specify network for container
- homelab
- immich_net
database:
container_name: immich_postgres
@@ -101,7 +105,7 @@ services:
]
restart: always
networks: # Specify network for container
- homelab
- immich_net
volumes:
pgdata:
@@ -109,4 +113,6 @@ volumes:
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
homelab:
external: true # This option causes compose to join the above network instead of making a _default one (supposedly)
external: true # This option causes compose to join the above network instead of making a _default one (supposedly)
immich_net:
external: false