Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
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
  • Loading branch information
l4rm4nd authored Nov 15, 2023
1 parent 5c3ad8e commit 4037249
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions examples/immich/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -94,7 +98,7 @@ services:

immich-database:
container_name: immich-database
image: postgres:14
image: postgres:14-alpine
env_file:
- .env
environment:
Expand Down

0 comments on commit 4037249

Please sign in to comment.