diff --git a/infra/photos/0003_immich_playbook.yaml b/infra/photos/0003_immich_playbook.yaml index 5a09ef2..a5d26a6 100644 --- a/infra/photos/0003_immich_playbook.yaml +++ b/infra/photos/0003_immich_playbook.yaml @@ -11,7 +11,6 @@ ansible.builtin.stat: path: "$HOME/{{ app }}" register: project - - name: Docker compose down when: project.stat.exists community.docker.docker_compose_v2: diff --git a/infra/photos/immich/.env b/infra/photos/immich/.env index 8a9de3e..e7c8557 100644 --- a/infra/photos/immich/.env +++ b/infra/photos/immich/.env @@ -4,7 +4,7 @@ UPLOAD_LOCATION=/mnt/media/immich # The Immich version to use. You can pin this to a specific version like "v1.71.0" -IMMICH_VERSION=v1.133.1 +IMMICH_VERSION=release # Connection secrets for postgres and typesense. You should change these to random passwords TYPESENSE_API_KEY=TYPESENSE_API_KEY_VALUE diff --git a/infra/photos/immich/docker-compose.yml b/infra/photos/immich/docker-compose.yml index c882b3d..d938706 100644 --- a/infra/photos/immich/docker-compose.yml +++ b/infra/photos/immich/docker-compose.yml @@ -5,7 +5,7 @@ services: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION} volumes: - - ${UPLOAD_LOCATION}:/usr/src/app/upload + - ${UPLOAD_LOCATION}:/data - /etc/localtime:/etc/localtime:ro env_file: - .env @@ -31,14 +31,14 @@ services: redis: container_name: immich_redis - image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884 + image: docker.io/valkey/valkey:8-bookworm@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11 healthcheck: test: redis-cli ping || exit 1 restart: always database: container_name: immich_postgres - image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 + image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:32324a2f41df5de9efe1af166b7008c3f55646f8d0e00d9550c16c9822366b4a env_file: - .env environment: @@ -48,6 +48,7 @@ services: POSTGRES_INITDB_ARGS: '--data-checksums' volumes: - pgdata:/var/lib/postgresql/data + shm_size: 128mb restart: always volumes: