cleanup: traefik entrypoints and format (#56)
This commit is contained in:
parent
808451749c
commit
2a1f84163c
16 changed files with 80 additions and 77 deletions
|
@ -42,6 +42,7 @@ job "atlas" {
|
|||
config {
|
||||
image = "ghcr.io/redbrick/atlas:latest"
|
||||
ports = ["http"]
|
||||
force_pull = true
|
||||
}
|
||||
|
||||
resources {
|
||||
|
|
|
@ -30,11 +30,10 @@ job "hedgedoc" {
|
|||
"traefik.frontend.headers.STSSeconds=63072000",
|
||||
"traefik.frontend.headers.browserXSSFilter=true",
|
||||
"traefik.frontend.headers.contentTypeNosniff=true",
|
||||
"traefik.frontend.headers.customResponseHeaders=alt-svc:h2=l3sb47bzhpbelafss42pspxzqo3tipuk6bg7nnbacxdfbz7ao6semtyd.onion:443; ma=2592000",
|
||||
"traefik.enable=true",
|
||||
"traefik.port=${NOMAD_PORT_http}",
|
||||
"traefik.http.routers.md.entrypoints=web,websecure",
|
||||
"traefik.http.routers.md.rule=Host(`md.redbrick.dcu.ie`) || Host(`md.rb.dcu.ie`)",
|
||||
"traefik.http.routers.md.tls=true",
|
||||
"traefik.http.routers.md.tls.certresolver=lets-encrypt",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ job "plausible" {
|
|||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.plausible.rule=Host(`plausible.redbrick.dcu.ie`)",
|
||||
"traefik.http.routers.plausible.entrypoints=websecure",
|
||||
"traefik.http.routers.plausible.entrypoints=web,websecure",
|
||||
"traefik.http.routers.plausible.tls.certresolver=lets-encrypt"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ job "shlink" {
|
|||
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.http.routers.shlink-api.entrypoints=web,websecure",
|
||||
"traefik.http.routers.shlink-api.rule=Host(`s.rb.dcu.ie`)",
|
||||
"traefik.http.routers.shlink-api.tls=true",
|
||||
"traefik.http.routers.shlink-api.tls.certresolver=lets-encrypt",
|
||||
|
@ -77,6 +78,7 @@ EOH
|
|||
#
|
||||
# tags = [
|
||||
# "traefik.enable=true",
|
||||
# "traefik.http.routers.shlink-web.entrypoints=web,websecure",
|
||||
# "traefik.http.routers.shlink-web.rule=Host(`shlink.rb.dcu.ie`)",
|
||||
# "traefik.http.routers.shlink-web.tls=true",
|
||||
# "traefik.http.routers.shlink-web.tls.certresolver=lets-encrypt",
|
||||
|
|
|
@ -37,6 +37,7 @@ job "dcusr-outline" {
|
|||
tags = [
|
||||
"traefik.enable=true",
|
||||
"traefik.port=${NOMAD_PORT_http}",
|
||||
"traefik.http.routers.dcusr-outline.entrypoints=web,websecure",
|
||||
"traefik.http.routers.dcusr-outline.rule=Host(`${NOMAD_META_domain}`)",
|
||||
"traefik.http.routers.dcusr-outline.tls=true",
|
||||
"traefik.http.routers.dcusr-outline.tls.certresolver=lets-encrypt",
|
||||
|
|
|
@ -9,7 +9,7 @@ job "midnight-calendarbot" {
|
|||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "ghcr.io/nightmarishblue/calendarbot:master"
|
||||
image = "ghcr.io/nightmarishblue/calendarbot:latest"
|
||||
force_pull = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue