From 9ec71e66df377e4b59c98a2638b9a9922f690b28 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Sun, 13 Apr 2025 19:59:35 +0200 Subject: [PATCH] chore: optional immich /doc access protection --- examples/immich/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/immich/docker-compose.yml b/examples/immich/docker-compose.yml index edc8ad9..57bc1ec 100644 --- a/examples/immich/docker-compose.yml +++ b/examples/immich/docker-compose.yml @@ -27,7 +27,8 @@ services: # - traefik.http.services.immich.loadbalancer.server.port=2283 # - traefik.docker.network=proxy # # Part for local lan services only - # - traefik.http.routers.immich.middlewares=limit-immich + # - traefik.http.routers.immich-swagger.rule=Host(`immich.example.com`) && PathPrefix(`/doc`) + # - traefik.http.routers.immich-swagger.middlewares=local-ipwhitelist@file immich-machine-learning: image: altran1502/immich-machine-learning:${IMMICH_VERSION:-release}