Update Immich to v1.51.2 and Add Typesense

This commit is contained in:
DrMxrcy 2023-03-22 17:34:44 -04:00 committed by Nicolas Meienberger
parent ecb6161524
commit 2a97185dd1
2 changed files with 30 additions and 7 deletions

View File

@ -5,8 +5,8 @@
"exposable": true, "exposable": true,
"port": 8128, "port": 8128,
"id": "immich", "id": "immich",
"tipi_version": 2, "tipi_version": 3,
"version": "v1.50.1", "version": "v1.51.2",
"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.",
"short_desc": "Photo and video backup solution directly from your mobile phone.", "short_desc": "Photo and video backup solution directly from your mobile phone.",
@ -25,6 +25,12 @@
"label": "JWT_SECRET", "label": "JWT_SECRET",
"min": 32, "min": 32,
"env_variable": "JWT_SECRET" "env_variable": "JWT_SECRET"
},
{
"type": "random",
"label": "IMMICH_TYPESENSE_API_KEY",
"min": 32,
"env_variable": "IMMICH_TYPESENSE_API_KEY"
} }
] ]
} }

View File

@ -3,7 +3,7 @@ version: "3.7"
services: services:
immich: immich:
container_name: immich container_name: immich
image: altran1502/immich-proxy:v1.50.1 image: altran1502/immich-proxy:v1.51.2
ports: ports:
- ${APP_PORT}:8080 - ${APP_PORT}:8080
depends_on: depends_on:
@ -22,7 +22,7 @@ services:
immich-server: immich-server:
container_name: immich-server container_name: immich-server
image: altran1502/immich-server:v1.50.1 image: altran1502/immich-server:v1.51.2
entrypoint: ["/bin/sh", "./start-server.sh"] entrypoint: ["/bin/sh", "./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
@ -35,16 +35,18 @@ services:
- DB_DATABASE_NAME=immich - DB_DATABASE_NAME=immich
- REDIS_HOSTNAME=immich-redis - REDIS_HOSTNAME=immich-redis
- JWT_SECRET=${JWT_SECRET} - JWT_SECRET=${JWT_SECRET}
- TYPESENSE_API_KEY=${IMMICH_TYPESENSE_API_KEY}
depends_on: depends_on:
- immich-redis - immich-redis
- immich-db - immich-db
- immich-typesense
restart: unless-stopped restart: unless-stopped
networks: networks:
- tipi_main_network - tipi_main_network
immich-microservices: immich-microservices:
container_name: immich-microservices container_name: immich-microservices
image: altran1502/immich-server:v1.50.1 image: altran1502/immich-server:v1.51.2
entrypoint: ["/bin/sh", "./start-microservices.sh"] entrypoint: ["/bin/sh", "./start-microservices.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
@ -57,16 +59,18 @@ services:
- REDIS_HOSTNAME=immich-redis - REDIS_HOSTNAME=immich-redis
- JWT_SECRET=${JWT_SECRET} - JWT_SECRET=${JWT_SECRET}
- ENABLE_MAPBOX=false - ENABLE_MAPBOX=false
- TYPESENSE_API_KEY=${IMMICH_TYPESENSE_API_KEY}
depends_on: depends_on:
- immich-redis - immich-redis
- immich-db - immich-db
- typesense
restart: unless-stopped restart: unless-stopped
networks: networks:
- tipi_main_network - tipi_main_network
immich-machine-learning: immich-machine-learning:
container_name: immich-machine-learning container_name: immich-machine-learning
image: altran1502/immich-machine-learning:v1.50.1 image: altran1502/immich-machine-learning:v1.51.2
entrypoint: ["/bin/sh", "./entrypoint.sh"] entrypoint: ["/bin/sh", "./entrypoint.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
@ -77,6 +81,7 @@ services:
- DB_PASSWORD=${DB_PASSWORD} - DB_PASSWORD=${DB_PASSWORD}
- DB_NAME=immich - DB_NAME=immich
- DB_DATABASE_NAME=immich - DB_DATABASE_NAME=immich
- TYPESENSE_API_KEY=${IMMICH_TYPESENSE_API_KEY}
depends_on: depends_on:
- immich-db - immich-db
restart: unless-stopped restart: unless-stopped
@ -85,7 +90,7 @@ services:
immich-web: immich-web:
container_name: immich-web container_name: immich-web
image: altran1502/immich-web:v1.50.1 image: altran1502/immich-web:v1.51.2
entrypoint: ["/bin/sh", "./entrypoint.sh"] entrypoint: ["/bin/sh", "./entrypoint.sh"]
restart: unless-stopped restart: unless-stopped
networks: networks:
@ -112,6 +117,18 @@ services:
networks: networks:
- tipi_main_network - tipi_main_network
immich-typesense:
container_name: immich-typesense
image: typesense/typesense:0.24.0
environment:
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
- TYPESENSE_DATA_DIR=/data
logging:
driver: none
volumes:
- ${APP_DATA_DIR}/data/typesense:/data
restart: always