Skip to content

Commit

Permalink
Update-immich (#312)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
RaneyDazed authored Dec 23, 2023
1 parent 7cea600 commit b301ee6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion roles/immich/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
3 changes: 2 additions & 1 deletion roles/immich/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b301ee6

Please sign in to comment.