diff --git a/immich/docker-compose.yaml b/immich/docker-compose.yaml index 0106582..afdd926 100644 --- a/immich/docker-compose.yaml +++ b/immich/docker-compose.yaml @@ -17,6 +17,7 @@ services: disable: false networks: - net + - public_proxy - webproxy immich-machine-learning: @@ -59,6 +60,21 @@ services: networks: - net + immich-public-proxy: + image: alangrainger/immich-public-proxy:2.5.0@sha256:6aeb25d05155049f4600f1b40469c735cecaa99c22e3a943a3fe3ce02a1ae7f7 + container_name: immich_public_proxy + restart: always + environment: + PUBLIC_BASE_URL: https://bilder.jfreudenberger.de + IMMICH_URL: http://immich_server:2283 + healthcheck: + test: curl -s http://localhost:3000/share/healthcheck -o /dev/null || exit 1 + start_period: 10s + timeout: 5s + networks: + - public_proxy + - webproxy + volumes: model-cache: data: @@ -79,3 +95,4 @@ networks: external: true name: webproxy net: + public_proxy: