55 lines
2.1 KiB
YAML
55 lines
2.1 KiB
YAML
---
|
|
# Immich variables (group_vars/immich.yml)
|
|
# Reprise du modèle Forgejo fourni : Docker Compose, Nginx/Certbot, host identique,
|
|
# données applicatives persistantes sur NFS, base PostgreSQL locale.
|
|
|
|
# Réseau / domaine public
|
|
nginx_required: true
|
|
immich_domain: "immich.esfs.fr"
|
|
letsencrypt_email: "admin@esfs.fr"
|
|
immich_nginx_site_filename: "immich.esfs.fr.conf"
|
|
immich_nginx_client_max_body_size: "10G"
|
|
|
|
# Chemins d'installation
|
|
immich_dir: "/opt/immich"
|
|
nfs_mount_point: "/mnt/nfs-share"
|
|
check_nfs_mount: true
|
|
|
|
# Données persistantes
|
|
# La bibliothèque Immich contient les uploads, thumbnails, encoded-video, profile, backups, etc.
|
|
# Elle est bind-mountée sur le partage NFS, comme les données Forgejo dans le projet d'exemple.
|
|
immich_library_path: "{{ nfs_mount_point }}/applications/immich/library"
|
|
|
|
# Important : Immich déconseille / ne supporte pas DB_DATA_LOCATION sur un partage réseau.
|
|
# On garde donc PostgreSQL en local, comme PostgreSQL Forgejo était local dans le projet fourni.
|
|
immich_postgres_data_path: "{{ immich_dir }}/postgres"
|
|
immich_model_cache_path: "{{ immich_dir }}/model-cache"
|
|
|
|
# Ports exposés Docker
|
|
# Nginx proxy vers 127.0.0.1:{{ immich_host_http_port }}.
|
|
# Port hôte volontairement non standard pour éviter les conflits avec les autres applis web.
|
|
immich_host_http_port: "32283"
|
|
immich_container_http_port: "2283"
|
|
|
|
# Images / version Immich
|
|
# v2 suit la branche majeure stable actuelle. Remplacer par une version précise si besoin, ex: v2.1.0.
|
|
immich_version: "v2"
|
|
immich_server_image: "ghcr.io/immich-app/immich-server"
|
|
immich_machine_learning_image: "ghcr.io/immich-app/immich-machine-learning"
|
|
immich_redis_image: "docker.io/valkey/valkey:9"
|
|
immich_postgres_image: "ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0"
|
|
|
|
# PostgreSQL Immich
|
|
immich_db_username: "postgres"
|
|
immich_db_database: "immich"
|
|
# Alphanumérique uniquement, comme recommandé par Immich.
|
|
immich_db_password: "Yb8qD7vRc4Nz29AhKp6Lx5Tf"
|
|
|
|
# Système
|
|
server_timezone: "Europe/Paris"
|
|
docker_remove_conflicting_packages: true
|
|
|
|
# Permissions
|
|
immich_library_mode: "0777"
|
|
immich_postgres_uid: "999"
|
|
immich_postgres_gid: "999"
|