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:
parent
2ebc5a2fea
commit
a1b9e7ef92
|
@ -5,7 +5,7 @@
|
||||||
"exposable": true,
|
"exposable": true,
|
||||||
"port": 8128,
|
"port": 8128,
|
||||||
"id": "immich",
|
"id": "immich",
|
||||||
"tipi_version": 92,
|
"tipi_version": 93,
|
||||||
"version": "1.106.3",
|
"version": "1.106.3",
|
||||||
"categories": ["data", "photography"],
|
"categories": ["data", "photography"],
|
||||||
"description": "Photo and video backup solution directly from your mobile phone.",
|
"description": "Photo and video backup solution directly from your mobile phone.",
|
||||||
|
|
|
@ -4,7 +4,6 @@ services:
|
||||||
immich:
|
immich:
|
||||||
container_name: immich
|
container_name: immich
|
||||||
image: ghcr.io/immich-app/immich-server:v1.106.3
|
image: ghcr.io/immich-app/immich-server:v1.106.3
|
||||||
command: ["start-server.sh"]
|
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
|
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
|
||||||
environment:
|
environment:
|
||||||
|
@ -50,28 +49,6 @@ services:
|
||||||
traefik.http.routers.immich-local.service: immich
|
traefik.http.routers.immich-local.service: immich
|
||||||
traefik.http.routers.immich-local.tls: true
|
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:
|
immich-machine-learning:
|
||||||
container_name: immich-machine-learning
|
container_name: immich-machine-learning
|
||||||
image: ghcr.io/immich-app/immich-machine-learning:v1.106.3
|
image: ghcr.io/immich-app/immich-machine-learning:v1.106.3
|
||||||
|
@ -97,6 +74,8 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
healthcheck:
|
||||||
|
test: redis-cli ping || exit 1
|
||||||
|
|
||||||
immich-db:
|
immich-db:
|
||||||
container_name: immich-db
|
container_name: immich-db
|
||||||
|
@ -111,3 +90,9 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- 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"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user