From ff87cdb858d1e05606e200f52e99deb9d8d07f96 Mon Sep 17 00:00:00 2001 From: Gabe Date: Sat, 7 Feb 2026 23:04:26 +0000 Subject: [PATCH] Update Photography_Containers/immich/compose.yaml --- Photography_Containers/immich/compose.yaml | 27 ++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/Photography_Containers/immich/compose.yaml b/Photography_Containers/immich/compose.yaml index 9984f3c..936fdd9 100644 --- a/Photography_Containers/immich/compose.yaml +++ b/Photography_Containers/immich/compose.yaml @@ -28,12 +28,25 @@ services: restart: unless-stopped healthcheck: disable: false + networks: + - traefik_network + - immich #Can comment out if not using Flame Dashboard labels: - flame.type=application # "app" works too - - flame.name=Immich - - flame.url=http://immich.homelab.internal #Adjust to your domain or IP - - flame.icon=image + - flame.name=${SERVICE_NAME} + - flame.url=http://${SERVICE_NAME}.${DOMAIN_NAME} #Adjust to your domain or IP + - flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/immich.svg + - traefik.enable=true + - traefik.http.routers.${SERVICE_NAME}.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`) + - traefik.http.routers.${SERVICE_NAME}.entrypoints=web + restart: unless-stopped +networks: + traefik_network: + external: true + immich: + name: immich_network + driver: bridge immich-machine-learning: container_name: immich_machine_learning @@ -47,6 +60,8 @@ services: - /srv/docker/immich/model-cache:/cache env_file: - .env + networks: + - immich_network restart: unless-stopped healthcheck: disable: false @@ -57,6 +72,8 @@ services: healthcheck: test: redis-cli ping || exit 1 restart: unless-stopped + networks: + - immich_network database: container_name: immich_postgres @@ -76,4 +93,6 @@ services: shm_size: 128mb restart: unless-stopped healthcheck: - disable: false \ No newline at end of file + disable: false + networks: + - immich_network \ No newline at end of file