Remove transmission

This commit is contained in:
Colin Hebert
2023-04-25 09:34:10 +10:00
parent f7a06d7eac
commit dfdefb08c4
4 changed files with 12 additions and 12 deletions

View File

@@ -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)\.'

View File

@@ -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.

View File

@@ -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

View 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