diff --git a/.env.example b/.env.example index 6a9b386..1e6d851 100644 --- a/.env.example +++ b/.env.example @@ -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 \ No newline at end of file +IMMICH_DB_PASSWORD=postgres +IMMICH_VERSION="v1.106.4" diff --git a/immich/docker-compose.yml b/immich/docker-compose.yml index 616cad4..5cd39b7 100644 --- a/immich/docker-compose.yml +++ b/immich/docker-compose.yml @@ -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 @@ -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