From b301ee653ee546a0285b32d7d11f3ed50d6ee925 Mon Sep 17 00:00:00 2001 From: CHAIR <95461636+RaneyDazed@users.noreply.github.com> Date: Sat, 23 Dec 2023 15:53:06 -0600 Subject: [PATCH] Update-immich (#312) * Removed Typesense disabling option from defaults The default environment configuration has been streamlined by removing the DISABLE_TYPESENSE variable, promoting Typesense engine's consistent usage across deployments. This change simplifies the initial setup process and aligns with the decision to utilize Typesense by default for improved search capabilities. * Update Postgres image tag and set custom repository Refine the PostgreSQL container deployment by specifying a version with the custom tag 'pg14-v0.1.11' and setting the image repository to 'tensorchord/pgvecto-rs'. This aligns the image with a specific version for predictable builds and utilizes a repository tailored to our application's requirements. --- roles/immich/defaults/main.yml | 1 - roles/immich/tasks/main.yml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/immich/defaults/main.yml b/roles/immich/defaults/main.yml index 6698a2b3c4..fb863c41c8 100644 --- a/roles/immich/defaults/main.yml +++ b/roles/immich/defaults/main.yml @@ -84,7 +84,6 @@ immich_docker_envs_default: DB_DATABASE_NAME: "{{ immich_name }}" REDIS_HOSTNAME: "{{ immich_name }}_redis" DISABLE_MACHINE_LEARNING: "false" - DISABLE_TYPESENSE: "false" MACHINE_LEARNING_WORKERS: "1" MACHINE_LEARNING_WORKER_TIMEOUT: "120" immich_docker_envs_custom: {} diff --git a/roles/immich/tasks/main.yml b/roles/immich/tasks/main.yml index 9874cf71b0..1221f98bbc 100644 --- a/roles/immich/tasks/main.yml +++ b/roles/immich/tasks/main.yml @@ -22,7 +22,8 @@ vars: postgres_instances: ["{{ immich_name }}_postgres"] postgres_docker_env_db: "{{ immich_name }}" - postgres_docker_image_tag: "14-alpine" + postgres_docker_image_tag: "pg14-v0.1.11" + postgres_docker_image_repo: "tensorchord/pgvecto-rs" postgres_paths_folder: "{{ immich_name }}" postgres_paths_location: "{{ server_appdata_path }}/{{ postgres_paths_folder }}/postgres"