Skip to content

Commit

Permalink
Merge pull request #77 from AdrienPoupa/chore/update-immich
Browse files Browse the repository at this point in the history
chore: update Immich and pin version
  • Loading branch information
AdrienPoupa authored Jun 24, 2024
2 parents 26ba1c8 + d9c7773 commit cfd7601
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 32 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ HOMEPAGE_VAR_WEATHER_CITY=
HOMEPAGE_VAR_WEATHER_LAT=
HOMEPAGE_VAR_WEATHER_LONG=
HOMEPAGE_VAR_WEATHER_UNIT=metric
IMMICH_DB_PASSWORD=postgres
IMMICH_DB_PASSWORD=postgres
IMMICH_VERSION="v1.106.4"
33 changes: 2 additions & 31 deletions immich/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:release
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
environment:
DB_HOSTNAME: immich_postgres
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
DB_USERNAME: postgres
DB_DATABASE_NAME: immich
REDIS_HOSTNAME: immich_redis
command: ['start.sh', 'immich']
volumes:
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
Expand Down Expand Up @@ -39,37 +38,9 @@ services:
profiles:
- immich

immich-microservices:
container_name: immich_microservices
image: ghcr.io/immich-app/immich-server:release
environment:
DB_HOSTNAME: immich_postgres
DB_PASSWORD: ${IMMICH_DB_PASSWORD}
DB_USERNAME: postgres
DB_DATABASE_NAME: immich
REDIS_HOSTNAME: immich_redis
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
command: ['start.sh', 'microservices']
volumes:
- ${IMMICH_UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
depends_on:
- immich-redis
- immich-database
restart: always
healthcheck:
test: [ "CMD", "bash", "-c", "exec 5<>/dev/tcp/127.0.0.1/3002" ]
interval: 10s
timeout: 5s
retries: 5
profiles:
- immich

immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:release
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- immich-model-cache:/cache
restart: always
Expand Down

0 comments on commit cfd7601

Please sign in to comment.