From eedd640d2740f72f8cf357447ef5b85c6b252984 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sat, 22 Jun 2024 00:19:42 +0100 Subject: [PATCH] Upgrade immich to 1.106 --- infra/photos/0003_immich_playbook.yaml | 4 ++++ infra/photos/immich/docker-compose.yml | 18 +----------------- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/infra/photos/0003_immich_playbook.yaml b/infra/photos/0003_immich_playbook.yaml index 50a5eed..2e7a248 100644 --- a/infra/photos/0003_immich_playbook.yaml +++ b/infra/photos/0003_immich_playbook.yaml @@ -31,6 +31,10 @@ path: "{{ user.home }}/{{ app }}/.env" regexp: "DB_PASSWORD_VALUE" replace: "{{ lookup('infisical.vault.read_secrets', env_slug='prod', path='/photos', secret_name='DB_PASSWORD')['value'] }}" + - name: Docker compose pull + ansible.builtin.command: docker compose pull + args: + chdir: "{{ user.home }}/{{ app }}" - name: Docker compose up -d ansible.builtin.command: docker compose up -d args: diff --git a/infra/photos/immich/docker-compose.yml b/infra/photos/immich/docker-compose.yml index 44cb498..f36ad43 100644 --- a/infra/photos/immich/docker-compose.yml +++ b/infra/photos/immich/docker-compose.yml @@ -4,9 +4,9 @@ services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} - command: ["start.sh", "immich"] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload + - /etc/localtime:/etc/localtime:ro env_file: - .env ports: @@ -16,22 +16,6 @@ services: - database restart: always - immich-microservices: - container_name: immich_microservices - image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} - # extends: - # file: hwaccel.yml - # service: hwaccel - command: ["start.sh", "microservices"] - volumes: - - ${UPLOAD_LOCATION}:/usr/src/app/upload - env_file: - - .env - depends_on: - - redis - - database - restart: always - immich-machine-learning: container_name: immich_machine_learning image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}