From 2063eb1122d2d2737b8b52ec27a3d03585e2487d Mon Sep 17 00:00:00 2001 From: CHAIR Date: Wed, 20 Dec 2023 12:45:48 -0600 Subject: [PATCH 1/2] 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. --- roles/immich/defaults/main.yml | 1 - 1 file changed, 1 deletion(-) 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: {} From c4514ff9c46c6754db9ffee509a3886afd359ebf Mon Sep 17 00:00:00 2001 From: CHAIR Date: Wed, 20 Dec 2023 12:49:29 -0600 Subject: [PATCH 2/2] 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/tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"