diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-07-15 13:18:27 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-07-15 13:18:37 +0300 |
| commit | 6524107008a601fa747cf9015c297a7e9303954e (patch) | |
| tree | 71d99c5ffb2c9a40f4b09bf71a0da576d74c2da0 /roles/jails/20_immich/templates/usr_local_etc_immich_server.env.j2 | |
| parent | e3d5ce408d4bedde047819cb0f0f8bee19dbf2d3 (diff) | |
Set up immich jail
Diffstat (limited to 'roles/jails/20_immich/templates/usr_local_etc_immich_server.env.j2')
| -rw-r--r-- | roles/jails/20_immich/templates/usr_local_etc_immich_server.env.j2 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/jails/20_immich/templates/usr_local_etc_immich_server.env.j2 b/roles/jails/20_immich/templates/usr_local_etc_immich_server.env.j2 new file mode 100644 index 0000000..87c563d --- /dev/null +++ b/roles/jails/20_immich/templates/usr_local_etc_immich_server.env.j2 @@ -0,0 +1,20 @@ +# Immich server configuration +IMMICH_MEDIA_LOCATION=/data +TZ=Europe/Helsinki +IMMICH_PORT=80 +NODE_ENV=production + +# Database +DB_HOSTNAME={{ jail_lan_cidr | ipv4_nth(2 + jail_lan_offset | int) }} +DB_PORT=5432 +DB_USERNAME=immich +DB_PASSWORD={{ pg_user_passwords.immich }} +DB_DATABASE_NAME=immich + +# Redis +REDIS_HOSTNAME={{ jail_lan_cidr | ipv4_nth(9 + jail_lan_offset | int) }} +REDIS_PORT=6379 +REDIS_PASSWORD={{ valkey_password }} + +# Machine learning +MACHINE_LEARNING_URL=http://127.0.0.1:3003 |
