Skip to content

Commit

Permalink
docs(inventory): update multi-subdomain examples (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
keldian authored Jan 24, 2024
1 parent 69f26a5 commit 59f14bb
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/saltbox/inventory/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,18 +262,14 @@ sonarr_traefik_middleware_custom: "appAuth"
=== "Additions"
!!! warning ""
The following examples require adding DNS records manually.
DNS records for the following examples won't be set up by Saltbox. You can add them manually or if using Cloudflare, have the `ddns` service handle it.

```yaml
#### Make Organizr available at both `organizr.domain.tld` and `domain.tld` ####
organizr_docker_labels_custom:
traefik.http.routers.organizr-http.rule: "Host(`{{ organizr_web_subdomain + '.' + organizr_web_domain }}`) || Host(`{{ organizr_web_domain }}`)"
traefik.http.routers.organizr.rule: "Host(`{{ organizr_web_subdomain + '.' + organizr_web_domain }}`) || Host(`{{ organizr_web_domain }}`)"
#### Make Organizr available at `organizr.domain.tld`, `domain.tld` and `example.com` ####
organizr_web_host_override: "Host(`' + traefik_host + '`) || Host(`{{ organizr_web_domain }}`) || Host(`example.com`)"

#### Make Overseerr available at both `overseerr.domain.tld` and `requests.domain.tld` ####
overseerr_docker_labels_custom:
traefik.http.routers.overseerr-http.rule: "Host(`{{ overseerr_web_subdomain + '.' + overseerr_web_domain }}`) || Host(`{{ 'requests.' + overseerr_web_domain }}`)"
traefik.http.routers.overseerr.rule: "Host(`{{ overseerr_web_subdomain + '.' + overseerr_web_domain }}`) || Host(`{{ 'requests.' + overseerr_web_domain }}`)"
overseerr_web_host_override: "Host(`' + traefik_host + '`) || Host(`{{ 'requests.' + overseerr_web_domain }}`)"
```
### Domain Customization
Expand Down

0 comments on commit 59f14bb

Please sign in to comment.