/
/
/
Ansible role that deployes services on my runner machine
1# Immich Environment Configuration
2
3# Upload location on host
4UPLOAD_LOCATION={{ immich_upload_dir }}
5
6# Database location on host
7DB_DATA_LOCATION={{ immich_config_dir }}/postgres
8
9TZ={{ runner_timezone }}
10
11# Informational: the compose file takes the exact image tags from the pins
12IMMICH_VERSION={{ container_images.immich_server.split(':')[-1] }}
13
14IMMICH_CONFIG_FILE=/config/immich.json
15
16# Database credentials
17DB_PASSWORD={{ postgres_password }}
18DB_USERNAME={{ postgres_user }}
19DB_DATABASE_NAME={{ postgres_db }}
20
21{% if gpu_enabled %}
22# NVIDIA GPU Configuration
23NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
24NVIDIA_VISIBLE_DEVICES=all
25{% endif %}
26
27# Logging Configuration
28IMMICH_LOG_LEVEL={{ immich_log_level | default('log') }}