feat: migrate rutorrent on authelia for authent
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
5fe61223c3
commit
992937c011
@ -43,17 +43,9 @@ job "torrent" {
|
|||||||
"traefik.http.routers.${NOMAD_JOB_NAME}.tls.domains[0].sans=${NOMAD_JOB_NAME}.ducamps.eu",
|
"traefik.http.routers.${NOMAD_JOB_NAME}.tls.domains[0].sans=${NOMAD_JOB_NAME}.ducamps.eu",
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}.tls.certresolver=myresolver",
|
"traefik.http.routers.${NOMAD_JOB_NAME}.tls.certresolver=myresolver",
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}.entrypoints=web,websecure",
|
"traefik.http.routers.${NOMAD_JOB_NAME}.entrypoints=web,websecure",
|
||||||
"traefik.http.routers.${NOMAD_JOB_NAME}.middlewares=torrentauth",
|
"traefik.http.routers.${NOMAD_JOB_NAME}.middlewares=authelia-basic",
|
||||||
"traefik.http.middlewares.torrentauth.basicauth.users=admin:${ADMIN_HASHED_PWD}"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
template {
|
|
||||||
data = <<-EOF
|
|
||||||
ADMIN_HASHED_PWD={{ with secret "secrets/nomad/torrent" }}{{.Data.data.hashed_pwd}}{{ end }}
|
|
||||||
EOF
|
|
||||||
destination = "secrets/env"
|
|
||||||
env = true
|
|
||||||
}
|
|
||||||
user = "root"
|
user = "root"
|
||||||
config {
|
config {
|
||||||
|
|
||||||
|
@ -25,7 +25,6 @@ locals {
|
|||||||
"alertmanager",
|
"alertmanager",
|
||||||
"vault-backup",
|
"vault-backup",
|
||||||
"pdns",
|
"pdns",
|
||||||
"torrent",
|
|
||||||
"ldap",
|
"ldap",
|
||||||
"borgmatic",
|
"borgmatic",
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user