From c3879c252b006673c3f0f1f42d1f4721fc7bd441 Mon Sep 17 00:00:00 2001 From: Anarion Date: Tue, 11 Jun 2024 17:17:24 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20Immich=20to=20la?= =?UTF-8?q?test=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roles/immich/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/immich/tasks/main.yml b/roles/immich/tasks/main.yml index 71d8bf86bc..0c7b02135c 100644 --- a/roles/immich/tasks/main.yml +++ b/roles/immich/tasks/main.yml @@ -66,7 +66,6 @@ name: "{{ immich_server_container_name }}" image: "{{ immich_server_image }}:{{ immich_server_tag }}" pull: true - command: ["start.sh", "immich"] volumes: - "{{ immich_data_directory }}/data:/data:rw" - "{{ immich_upload_directory }}:/usr/src/app/upload:rw" @@ -92,6 +91,7 @@ MAPBOX_KEY: "{{ immich_mapbox_key }}" UPLOAD_LOCATION: "{{ immich_upload_location }}" PUBLIC_LOGIN_PAGE_MESSAGE: "{{ immich_public_login_page_message }}" + IMMICH_WORKERS_INCLUDE: 'api' labels: traefik.enable: "{{ immich_available_externally | string }}" traefik.http.routers.immich.rule: "Host(`{{ immich_hostname }}.{{ ansible_nas_domain }}`)" @@ -107,7 +107,6 @@ name: "{{ immich_microservices_container_name }}" image: "{{ immich_microservices_image }}:{{ immich_microservices_tag }}" pull: true - command: ["start.sh", "microservices"] volumes: - "{{ immich_data_directory }}/data:/data:rw" - "{{ immich_upload_directory }}:/usr/src/app/upload:rw" @@ -131,6 +130,7 @@ MAPBOX_KEY: "{{ immich_mapbox_key }}" UPLOAD_LOCATION: "{{ immich_upload_location }}" PUBLIC_LOGIN_PAGE_MESSAGE: "{{ immich_public_login_page_message }}" + IMMICH_WORKERS_INCLUDE: 'microservices' labels: traefik.enable: "false" restart_policy: unless-stopped