roles: Make domain global variable

Each role has their own subdomains which can be set manually, or can
inherit from the global domain with a default prefix.
This commit is contained in:
Marty Oehme 2025-07-17 16:16:02 +02:00
parent 812deeb12d
commit e32f2366c8
Signed by: Marty
GPG key ID: 4E535BC19C61886E
7 changed files with 32 additions and 15 deletions

View file

@ -34,7 +34,7 @@ services:
- "PAPERLESS_ADMIN_USER={{ stack_paperless_admin_user }}"
- "PAPERLESS_ADMIN_PASSWORD={{ stack_paperless_admin_password }}"
labels:
caddy: "http://documents.pichi.berlin"
caddy: "{{ stack_paperless_subdomain }}"
caddy.reverse_proxy: "{{ '{{' }}upstreams 8000{{ '}}'}}"
paperless-postgres: