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:
parent
812deeb12d
commit
e32f2366c8
7 changed files with 32 additions and 15 deletions
|
|
@ -16,7 +16,7 @@ services:
|
|||
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://sonarr.pichi.berlin"
|
||||
caddy: "{{ arrstack_sonarr_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 8989{{ '}}'}}"
|
||||
|
||||
radarr:
|
||||
|
|
@ -36,7 +36,7 @@ services:
|
|||
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://radarr.pichi.berlin"
|
||||
caddy: "{{ arrstack_radarr_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 7878{{ '}}'}}"
|
||||
|
||||
lidarr:
|
||||
|
|
@ -61,7 +61,7 @@ services:
|
|||
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://lidarr.pichi.berlin"
|
||||
caddy: "{{ arrstack_lidarr_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 8686{{ '}}'}}"
|
||||
|
||||
readarr:
|
||||
|
|
@ -81,7 +81,7 @@ services:
|
|||
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://readarr.pichi.berlin"
|
||||
caddy: "{{ arrstack_readarr_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 8787{{ '}}'}}"
|
||||
|
||||
prowlarr:
|
||||
|
|
@ -98,7 +98,7 @@ services:
|
|||
- "{{ arrstack_env_dir }}/config/prowlarr:/config"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://prowlarr.pichi.berlin"
|
||||
caddy: "{{ arrstack_prowlarr_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 9696{{ '}}'}}"
|
||||
|
||||
beets:
|
||||
|
|
@ -119,7 +119,7 @@ services:
|
|||
- "{{ arrstack_serve_dir }}/files/music-unsorted:/downloads"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://prowlarr.pichi.berlin"
|
||||
caddy: "{{ arrstack_beets_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 8337{{ '}}'}}"
|
||||
|
||||
sabnzbd:
|
||||
|
|
@ -137,7 +137,7 @@ services:
|
|||
- "{{ arrstack_serve_dir }}/files/usenet:/data/usenet:rw"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://usenet.pichi.berlin"
|
||||
caddy: "{{ arrstack_sabnzbd_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 8080{{ '}}'}}"
|
||||
|
||||
vpn:
|
||||
|
|
@ -172,7 +172,7 @@ services:
|
|||
# - 8000:8000 # gluetun http control
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://torrent.pichi.berlin"
|
||||
caddy: "{{ arrstack_qbit_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 8888{{ '}}'}}"
|
||||
qbittorrent:
|
||||
image: linuxserver/qbittorrent
|
||||
|
|
@ -241,7 +241,7 @@ services:
|
|||
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://pichi.berlin"
|
||||
caddy: "{{ arrstack_homarr_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 7575{{ '}}'}}"
|
||||
|
||||
jellyseerr:
|
||||
|
|
@ -258,7 +258,7 @@ services:
|
|||
- "{{ arrstack_env_dir }}/config/jellyseerr:/app/config"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://get.pichi.berlin"
|
||||
caddy: "{{ arrstack_jellyseerr_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 5055{{ '}}'}}"
|
||||
|
||||
audiobookshelf:
|
||||
|
|
@ -278,7 +278,7 @@ services:
|
|||
# - "{{ arrstack_serve_dir }}/media/podcasts:/podcasts" # TODO: If integrating podcasts
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://books.pichi.berlin"
|
||||
caddy: "{{ arrstack_audiobookshelf_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 80{{ '}}'}}"
|
||||
|
||||
jellyfin:
|
||||
|
|
@ -306,7 +306,7 @@ services:
|
|||
- 1900:1900/udp #optional - dlna discovery
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
caddy: "http://media.pichi.berlin"
|
||||
caddy: "{{ arrstack_jellyfin_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 8096{{ '}}'}}"
|
||||
|
||||
gonic:
|
||||
|
|
@ -325,7 +325,7 @@ services:
|
|||
- "/srv/media/podcasts:/podcasts"
|
||||
#- /path/to/cache:/cache # transcode / covers / etc cache dir
|
||||
labels:
|
||||
caddy: "http://music.pichi.berlin"
|
||||
caddy: "{{ arrstack_gonic_subdomain }}"
|
||||
caddy.reverse_proxy: "{{ '{{' }}upstreams 80{{ '}}'}}"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue