Remove transmission
This commit is contained in:
@@ -28,12 +28,12 @@
|
||||
access_control:
|
||||
default_policy: deny
|
||||
rules:
|
||||
# Support for one factor for transmission API
|
||||
# Only users in "transmission-basic" should be allowed to do so
|
||||
- domain_regex: '^transmission-api\.'
|
||||
# Support for one factor for qbittorrent API
|
||||
# Only users in "qbittorrent-basic" should be allowed to do so
|
||||
- domain_regex: '^qbittorrent-api\.'
|
||||
policy: one_factor
|
||||
subject:
|
||||
- 'group:transmission-basic'
|
||||
- 'group:qbittorrent-basic'
|
||||
# Disable authentication on API protected by API keys.
|
||||
# Note those are behind authelia, therefore external access to the API; internal access doesn't require a bypass
|
||||
- domain_regex: '^(sabnzbd|prowlarr|radarr|sonarr|bazarr|notifiarr|readarr-audiobook|readarr-ebook)\.'
|
||||
|
||||
@@ -20,7 +20,7 @@ Creates a reverse proxy to expose other services running in the NAS
|
||||
- `dynamic/synology.yml`: Route exposing the Synology DSM interface of the host
|
||||
- `dynamic/tls.yml`: [TLS](https://doc.traefik.io/traefik/https/tls/) configuration of the instance
|
||||
- `dynamic/traefik.yml`: Route exposing the Traefik API/Dashboard
|
||||
- `dynamic/transmission-api.yml`: Special case exposing the API of Transmission with BasicAuth managed by the Authentication service
|
||||
- `dynamic/qbittorrent-api.yml`: Special case exposing the API of qBittorrent with BasicAuth managed by the Authentication service
|
||||
|
||||
### 🔒 Secrets
|
||||
- `traefik_tls_cert`: Self-signed certificate for Traefik. Particularly useful in development to avoid generating new certificates on each restart.
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
http:
|
||||
routers:
|
||||
qbittorrent-api:
|
||||
rule: '{{ $s := "qbittorrent-api" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
|
||||
service: qbittorrent@docker
|
||||
middlewares:
|
||||
- authelia-basic@file
|
||||
@@ -1,7 +0,0 @@
|
||||
http:
|
||||
routers:
|
||||
transmission-api:
|
||||
rule: '{{ $s := "transmission-api" }}{{ range $i, $d := splitList "," (env `NASCOMPOSE_TRAEFIK_DOMAINS`) }}{{ if $i }} || {{end}}Host(`{{ $s }}.{{ $d }}`){{ end }}'
|
||||
service: transmission@docker
|
||||
middlewares:
|
||||
- authelia-basic@file
|
||||
Reference in New Issue
Block a user