fix: update breaking change in immich (#3765)

- refer: https://github.com/immich-app/immich/releases/tag/v1.106.3

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
Avinal Kumar 2024-06-13 10:38:28 +05:30 committed by GitHub
parent 2ebc5a2fea
commit a1b9e7ef92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 24 deletions

View File

@ -5,7 +5,7 @@
"exposable": true,
"port": 8128,
"id": "immich",
"tipi_version": 92,
"tipi_version": 93,
"version": "1.106.3",
"categories": ["data", "photography"],
"description": "Photo and video backup solution directly from your mobile phone.",

View File

@ -4,7 +4,6 @@ services:
immich:
container_name: immich
image: ghcr.io/immich-app/immich-server:v1.106.3
command: ["start-server.sh"]
volumes:
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
environment:
@ -50,28 +49,6 @@ services:
traefik.http.routers.immich-local.service: immich
traefik.http.routers.immich-local.tls: true
immich-microservices:
container_name: immich-microservices
image: ghcr.io/immich-app/immich-server:v1.106.3
command: ["start-microservices.sh"]
volumes:
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
environment:
- NODE_ENV=production
- DB_HOSTNAME=immich-db
- DB_USERNAME=tipi
- DB_PASSWORD=${DB_PASSWORD}
- DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich-redis
- JWT_SECRET=${JWT_SECRET}
- ENABLE_MAPBOX=false
depends_on:
- immich-redis
- immich-db
restart: unless-stopped
networks:
- tipi_main_network
immich-machine-learning:
container_name: immich-machine-learning
image: ghcr.io/immich-app/immich-machine-learning:v1.106.3
@ -97,6 +74,8 @@ services:
restart: unless-stopped
networks:
- tipi_main_network
healthcheck:
test: redis-cli ping || exit 1
immich-db:
container_name: immich-db
@ -111,3 +90,9 @@ services:
restart: unless-stopped
networks:
- tipi_main_network
healthcheck:
test: pg_isready --dbname='${DB_DATABASE_NAME}' || exit 1; Chksum="$$(psql --dbname='${DB_DATABASE_NAME}' --username='${DB_USERNAME}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
interval: 5m
start_interval: 30s
start_period: 5m
command: ["postgres", "-c" ,"shared_preload_libraries=vectors.so", "-c", 'search_path="$$user", public, vectors', "-c", "logging_collector=on", "-c", "max_wal_size=2GB", "-c", "shared_buffers=512MB", "-c", "wal_compression=on"]