mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-21 15:52:09 +00:00
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
This commit is contained in:
parent
5c3ad8e71b
commit
40372490cb
|
@ -4,9 +4,10 @@ services:
|
||||||
immich-server:
|
immich-server:
|
||||||
container_name: immich-server
|
container_name: immich-server
|
||||||
image: altran1502/immich-server:release
|
image: altran1502/immich-server:release
|
||||||
entrypoint: ["/bin/sh", "./start-server.sh"]
|
command: [ "start.sh", "immich" ]
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
|
@ -24,9 +25,10 @@ services:
|
||||||
immich-microservices:
|
immich-microservices:
|
||||||
container_name: immich-microservices
|
container_name: immich-microservices
|
||||||
image: altran1502/immich-server:release
|
image: altran1502/immich-server:release
|
||||||
entrypoint: ["/bin/sh", "./start-microservices.sh"]
|
command: [ "start.sh", "microservices" ]
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
|
@ -43,10 +45,12 @@ services:
|
||||||
|
|
||||||
immich-typesense:
|
immich-typesense:
|
||||||
container_name: immich-typesense
|
container_name: immich-typesense
|
||||||
image: typesense/typesense:0.24.0
|
image: typesense/typesense:0.24.1
|
||||||
environment:
|
environment:
|
||||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
|
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY}
|
||||||
- TYPESENSE_DATA_DIR=/data
|
- TYPESENSE_DATA_DIR=/data
|
||||||
|
# remove this to get debug messages
|
||||||
|
- GLOG_minloglevel=1
|
||||||
volumes:
|
volumes:
|
||||||
- ${TYPESENSE_LOCATION}:/data
|
- ${TYPESENSE_LOCATION}:/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -85,7 +89,7 @@ services:
|
||||||
|
|
||||||
immich-redis:
|
immich-redis:
|
||||||
container_name: immich-redis
|
container_name: immich-redis
|
||||||
image: redis:6.2
|
image: redis:6.2-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
#labels:
|
#labels:
|
||||||
# - "com.centurylinklabs.watchtower.enable=true"
|
# - "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
@ -94,7 +98,7 @@ services:
|
||||||
|
|
||||||
immich-database:
|
immich-database:
|
||||||
container_name: immich-database
|
container_name: immich-database
|
||||||
image: postgres:14
|
image: postgres:14-alpine
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user