From 40372490cbe1f9fac3355f2da238c53a69073dc3 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Wed, 15 Nov 2023 13:06:24 +0100 Subject: [PATCH] Update docker-compose.yml small adjustments to reflect immich updates: - replace entrypoints with command - use alpine tag for redis and psql - add missing localtime volume - add missing typesense env regarding logging - use newer typesense image version tag --- examples/immich/docker-compose.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/immich/docker-compose.yml b/examples/immich/docker-compose.yml index 94b9c94aa..6fb55cacb 100644 --- a/examples/immich/docker-compose.yml +++ b/examples/immich/docker-compose.yml @@ -4,9 +4,10 @@ services: immich-server: container_name: immich-server image: altran1502/immich-server:release - entrypoint: ["/bin/sh", "./start-server.sh"] + command: [ "start.sh", "immich" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload + - /etc/localtime:/etc/localtime:ro env_file: - .env environment: @@ -24,9 +25,10 @@ services: immich-microservices: container_name: immich-microservices image: altran1502/immich-server:release - entrypoint: ["/bin/sh", "./start-microservices.sh"] + command: [ "start.sh", "microservices" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload + - /etc/localtime:/etc/localtime:ro env_file: - .env environment: @@ -43,10 +45,12 @@ services: immich-typesense: container_name: immich-typesense - image: typesense/typesense:0.24.0 + image: typesense/typesense:0.24.1 environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data + # remove this to get debug messages + - GLOG_minloglevel=1 volumes: - ${TYPESENSE_LOCATION}:/data restart: unless-stopped @@ -85,7 +89,7 @@ services: immich-redis: container_name: immich-redis - image: redis:6.2 + image: redis:6.2-alpine restart: unless-stopped #labels: # - "com.centurylinklabs.watchtower.enable=true" @@ -94,7 +98,7 @@ services: immich-database: container_name: immich-database - image: postgres:14 + image: postgres:14-alpine env_file: - .env environment: