fix: update network configurations to use immich_net for services (docker-compose.yml)
This commit is contained in:
@@ -38,7 +38,11 @@ services:
|
|||||||
homelab:
|
homelab:
|
||||||
aliases:
|
aliases:
|
||||||
- immich # how to add multiple 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:
|
immich-machine-learning:
|
||||||
container_name: immich_machine_learning
|
container_name: immich_machine_learning
|
||||||
@@ -56,7 +60,7 @@ services:
|
|||||||
healthcheck:
|
healthcheck:
|
||||||
disable: false
|
disable: false
|
||||||
networks: # Specify network for container
|
networks: # Specify network for container
|
||||||
- homelab
|
- immich_net
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
container_name: immich_redis
|
container_name: immich_redis
|
||||||
@@ -65,7 +69,7 @@ services:
|
|||||||
test: redis-cli ping || exit 1
|
test: redis-cli ping || exit 1
|
||||||
restart: always
|
restart: always
|
||||||
networks: # Specify network for container
|
networks: # Specify network for container
|
||||||
- homelab
|
- immich_net
|
||||||
|
|
||||||
database:
|
database:
|
||||||
container_name: immich_postgres
|
container_name: immich_postgres
|
||||||
@@ -101,7 +105,7 @@ services:
|
|||||||
]
|
]
|
||||||
restart: always
|
restart: always
|
||||||
networks: # Specify network for container
|
networks: # Specify network for container
|
||||||
- homelab
|
- immich_net
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
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..
|
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
|
||||||
homelab:
|
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
|
||||||
Reference in New Issue
Block a user