add access log
This commit is contained in:
parent
c817dcd385
commit
a85ec15629
@ -2,6 +2,9 @@ job "traefik-ingress" {
|
|||||||
datacenters = ["hetzner"]
|
datacenters = ["hetzner"]
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
|
meta {
|
||||||
|
force_deploy= 1
|
||||||
|
}
|
||||||
group "traefik-ingress" {
|
group "traefik-ingress" {
|
||||||
network {
|
network {
|
||||||
mode = "host"
|
mode = "host"
|
||||||
@ -21,7 +24,7 @@ job "traefik-ingress" {
|
|||||||
vault{
|
vault{
|
||||||
policies=["access-tables"]
|
policies=["access-tables"]
|
||||||
}
|
}
|
||||||
task "traefik-ingress" {
|
task "traefik" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
service {
|
service {
|
||||||
name = "traefik"
|
name = "traefik"
|
||||||
@ -92,6 +95,7 @@ job "traefik-ingress" {
|
|||||||
[providers.consulCatalog.endpoint]
|
[providers.consulCatalog.endpoint]
|
||||||
address = "10.0.0.1:8500"
|
address = "10.0.0.1:8500"
|
||||||
[log]
|
[log]
|
||||||
|
[accessLog]
|
||||||
[api]
|
[api]
|
||||||
dashboard = true
|
dashboard = true
|
||||||
insecure = true
|
insecure = true
|
||||||
|
Loading…
Reference in New Issue
Block a user