first version
This commit is contained in:
90
defaults/main.yml
Normal file
90
defaults/main.yml
Normal file
@@ -0,0 +1,90 @@
|
||||
---
|
||||
|
||||
# Project source code URL: https://github.com/imagegenius/docker-immich
|
||||
|
||||
immich_enabled: true
|
||||
|
||||
immich_identifier: immich
|
||||
|
||||
# latest - Latest Immich release with an Ubuntu base.
|
||||
# noml - Latest Immich release with an Ubuntu base. Machine-learning is completely removed, making it still compatible with hardware accelaration.
|
||||
# alpine - Latest Immich release with an Alpine base. Machine-learning is completely removed, making it a very lightweight image (can have issues with RAW images).
|
||||
immich_version: 'v1.93.3-ig193'
|
||||
immich_distro_variant: noml
|
||||
|
||||
immich_uid: ''
|
||||
immich_gid: ''
|
||||
|
||||
# The hostname at which Immich is served.
|
||||
immich_hostname: ''
|
||||
|
||||
# The path at which Immich is exposed.
|
||||
# This value must either be `/` or not end with a slash (e.g. `/immich`).
|
||||
immich_path_prefix: /
|
||||
|
||||
immich_base_path: "{{ immich_playbook_base_path }}/immich"
|
||||
immich_config_dir_path: "{{ immich_base_path }}/config"
|
||||
immich_photos_dir_path: "{{ immich_base_path }}/photos"
|
||||
immich_import_dir_path: "{{ immich_base_path }}/import"
|
||||
|
||||
immich_systemd_required_services_list: "{{ immich_systemd_required_services_list_default + immich_systemd_required_services_list_auto + immich_systemd_required_services_list_custom }}"
|
||||
immich_systemd_required_services_list_default: ['docker.service']
|
||||
immich_systemd_required_services_list_auto: []
|
||||
immich_systemd_required_services_list_custom: []
|
||||
|
||||
immich_config_database_hostname: ''
|
||||
immich_config_database_port: 5432
|
||||
immich_config_database_name: immich
|
||||
immich_config_database_username: ''
|
||||
immich_config_database_password: ''
|
||||
|
||||
immich_config_machine_learning_workers: ''
|
||||
immich_config_machine_learning_workers_timeout: 120
|
||||
|
||||
# Controls the IMMICH_REDIS_HOSTNAME environment variable
|
||||
immich_config_redis_hostname: ''
|
||||
|
||||
# Controls the IMMICH_LOG_LEVEL environment variable.
|
||||
# Valid values: debug, info, warn, error
|
||||
immich_config_log_level: info
|
||||
|
||||
immich_container_image: "{{ immich_container_image_registry_prefix }}imagegenius/immich:{{ immich_container_image_tag }}"
|
||||
immich_container_image_registry_prefix: ghcr.io/
|
||||
immich_container_image_tag: "{{ immich_distro_variant }}-{{ immich_version }}"
|
||||
immich_container_image_force_pull: "{{ immich_container_image_registry_prefix }}imagegenius/immich:latest"
|
||||
|
||||
# The base container network. It will be auto-created by this role if it doesn't exist already.
|
||||
immich_container_network: "{{ immich_identifier }}"
|
||||
|
||||
# A list of additional container networks that the container would be connected to.
|
||||
# The playbook does not create these networks, so make sure they already exist.
|
||||
# Use this to expose the container to another reverse proxy, which runs in a different container network.
|
||||
immich_container_additional_networks: "{{ immich_container_additional_networks_auto + immich_container_additional_networks_custom }}"
|
||||
immich_container_additional_networks_auto: []
|
||||
immich_container_additional_networks_custom: []
|
||||
|
||||
# immich_container_labels_traefik_enabled controls whether labels to assist a Traefik reverse-proxy will be attached to the container.
|
||||
# See `roles/immich/immich/templates/labels.j2` for details.
|
||||
#
|
||||
# To inject your own other container labels, see `immich_container_labels_additional_labels`.
|
||||
immich_container_labels_traefik_enabled: true
|
||||
immich_container_labels_traefik_docker_network: ''
|
||||
immich_container_labels_traefik_hostname: "{{ immich_hostname }}"
|
||||
# The path prefix must either be `/` or not end with a slash (e.g. `/immich`).
|
||||
immich_container_labels_traefik_path_prefix: "{{ immich_path_prefix }}"
|
||||
immich_container_labels_traefik_rule: "Host(`{{ immich_container_labels_traefik_hostname }}`){% if immich_container_labels_traefik_path_prefix != '/' %} && PathPrefix(`{{ immich_container_labels_traefik_path_prefix }}`){% endif %}"
|
||||
immich_container_labels_traefik_priority: 0
|
||||
immich_container_labels_traefik_entrypoints: web-secure
|
||||
immich_container_labels_traefik_tls: "{{ immich_container_labels_traefik_entrypoints != 'web' }}"
|
||||
immich_container_labels_traefik_tls_certResolver: default # noqa var-naming
|
||||
|
||||
# A list of extra arguments to pass to the container
|
||||
immich_container_extra_arguments: []
|
||||
|
||||
# immich_container_additional_environment_variables contains a multiline string with additional environment variables to pass to the container.
|
||||
#
|
||||
# Example:
|
||||
# immich_container_additional_environment_variables: |
|
||||
# VAR=1
|
||||
# ANOTHER=value
|
||||
immich_container_additional_environment_variables: ''
|
||||
Reference in New Issue
Block a user