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
pull/19/head
LRVT 2023-11-15 13:06:24 +01:00 zatwierdzone przez GitHub
rodzic 5c3ad8e71b
commit 40372490cb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 9 dodań i 5 usunięć

Wyświetl plik

@ -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: