From c5cf00844a1086562aa5e819bf3666080c5a4f29 Mon Sep 17 00:00:00 2001 From: Thomas Kleinendorst Date: Mon, 30 Dec 2024 00:28:10 +0100 Subject: [PATCH] Add additional home address for Immich --- roles/immich/tasks/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/roles/immich/tasks/main.yml b/roles/immich/tasks/main.yml index b5fc24e..4f5840d 100644 --- a/roles/immich/tasks/main.yml +++ b/roles/immich/tasks/main.yml @@ -20,3 +20,16 @@ become: true community.docker.docker_compose_v2: project_src: "/home/{{ ansible_user_id }}/immich/" +# Public access is provided by using a CloudFlare zero trust tunnel. +# I however found out that the free tier has a maximum file size upload of 100 Mb which +# can be too small for some videos that might be uploaded. +# So in addition to the Cloudflare tunnel I also expose the service via +# Locally on the network (with a 5 GiB upload size limit): +# local.immich.kleinendorst.info +# This can actually be configured to be used on the WiFi network in the app. +- name: Include simple-reverse-proxy role + ansible.builtin.include_role: + name: simple-reverse-proxy + vars: + simple_reverse_proxy_internal_port: 2283 + simple_reverse_proxy_internal_subdomain: local.immich