Remove web and metrics entrypoints from services

This commit is contained in:
IamTheFij 2022-03-15 12:02:55 -07:00
parent 4d4bf36d3c
commit e913084fe7
8 changed files with 8 additions and 1 deletions

View File

@ -75,6 +75,7 @@ job "blocky" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.blocky-api.entryPoints=websecure",
] ]
} }

View File

@ -52,6 +52,7 @@ job "grafana" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.grafana.entryPoints=websecure",
] ]
} }

View File

@ -54,6 +54,7 @@ job "prometheus" {
// TODO: Remove traefik tags // TODO: Remove traefik tags
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.prometheus.entryPoints=websecure",
] ]
} }

View File

@ -45,6 +45,7 @@ job "adminer" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.adminer.entryPoints=websecure",
] ]
} }

View File

@ -58,6 +58,7 @@ job "nextcloud" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.nextcloud.entryPoints=websecure",
] ]
} }

View File

@ -40,6 +40,7 @@ job "rediscommander" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.rediscommander.entryPoints=websecure",
] ]
} }

View File

@ -51,7 +51,7 @@ job "traefik" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.traefik_dashboard.entryPoints=web,websecure", "traefik.http.routers.traefik_dashboard.entryPoints=websecure",
"traefik.http.routers.traefik_dashboard.rule=Host(`traefik.${var.base_hostname}`)", "traefik.http.routers.traefik_dashboard.rule=Host(`traefik.${var.base_hostname}`)",
"traefik.http.routers.traefik_dashboard.service=api@internal", "traefik.http.routers.traefik_dashboard.service=api@internal",
"traefik.http.routers.traefik_dashboard.tls=true", "traefik.http.routers.traefik_dashboard.tls=true",

View File

@ -49,6 +49,7 @@ job "whoami" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.whoami.entryPoints=websecure",
] ]
} }