Add auth to sonarr
This commit is contained in:
parent
0f19e2433f
commit
7b019e0787
@ -132,7 +132,7 @@
|
|||||||
"filename": "core/authelia.yml",
|
"filename": "core/authelia.yml",
|
||||||
"hashed_secret": "a32b08d97b1615dc27f58b6b17f67624c04e2c4f",
|
"hashed_secret": "a32b08d97b1615dc27f58b6b17f67624c04e2c4f",
|
||||||
"is_verified": false,
|
"is_verified": false,
|
||||||
"line_number": 185,
|
"line_number": 191,
|
||||||
"is_secret": false
|
"is_secret": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -187,5 +187,5 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"generated_at": "2023-08-24T20:00:24Z"
|
"generated_at": "2024-01-08T22:56:56Z"
|
||||||
}
|
}
|
||||||
|
@ -151,6 +151,12 @@ access_control:
|
|||||||
networks: 192.168.5.0/24
|
networks: 192.168.5.0/24
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
|
# Bypass auth for Sonarr API since that has it's own authentication
|
||||||
|
- domain: 'sonarr.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
||||||
|
policy: bypass
|
||||||
|
resources:
|
||||||
|
- '^/api([/?].*)?$'
|
||||||
|
|
||||||
## Rules applied to everyone
|
## Rules applied to everyone
|
||||||
- domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
- domain: '*.{{ with nomadVar "nomad/jobs" }}{{ .base_hostname }}{{ end }}'
|
||||||
networks:
|
networks:
|
||||||
|
@ -7,6 +7,9 @@ module "sonarr" {
|
|||||||
ingress = true
|
ingress = true
|
||||||
service_port = 8989
|
service_port = 8989
|
||||||
use_wesher = var.use_wesher
|
use_wesher = var.use_wesher
|
||||||
|
ingress_middlewares = [
|
||||||
|
"authelia@nomad"
|
||||||
|
]
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
PGID = 100
|
PGID = 100
|
||||||
|
Loading…
Reference in New Issue
Block a user