From 437c941f4eff0110538b2ead1b445b6c3c5fe488 Mon Sep 17 00:00:00 2001 From: Alan Grainger Date: Fri, 25 Apr 2025 08:30:13 +1200 Subject: [PATCH] #87 fetch album assets separately to address change in Immich 1.132+ --- Dockerfile | 2 -- README.md | 12 ++---------- app/package.json | 2 +- docker-compose.yml | 2 +- 4 files changed, 4 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9f671f..d6e1883 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,4 @@ ENV NODE_ENV=production # Type checking is done in the repo before building the image. RUN npx tsc --noCheck -HEALTHCHECK --interval=30s --start-period=10s --timeout=5s CMD wget -q --spider http://localhost:3000/share/healthcheck || exit 1 - CMD ["node", "dist/index.js" ] diff --git a/README.md b/README.md index 591b854..07b7fbb 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,10 @@ # Immich Public Proxy -## 🚨 WARNING - Don't update to Immich v1.132+ 🚨 - -This will cause IPP to stop functioning, as Immich no longer outputs shared album info without an API key. I'm working to resolve this. - -See https://github.com/alangrainger/immich-public-proxy/issues/87 - ---- -

- Docker pulls + Docker pulls - Latest release + Latest release Open demo gallery

diff --git a/app/package.json b/app/package.json index 8bd39af..9577e7b 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "immich-public-proxy", - "version": "1.9.1", + "version": "1.10.0", "scripts": { "dev": "ts-node src/index.ts", "build": "npx tsc", diff --git a/docker-compose.yml b/docker-compose.yml index 1e86a81..130a3bd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,6 @@ services: environment: - IMMICH_URL=http://your-internal-immich-server:2283 healthcheck: - test: wget -q --spider http://localhost:3000/share/healthcheck || exit 1 + test: wget -q --connect-timeout=10 --tries=1 --spider http://localhost:3000/share/healthcheck || exit 1 start_period: 10s timeout: 5s