Add Traefik proxy for Syslogng

This commit is contained in:
IamTheFij 2022-09-04 12:36:26 -07:00
parent 7f4995817b
commit 9fe5393a40
2 changed files with 13 additions and 0 deletions

View File

@ -128,6 +128,13 @@ EOF
}
}
}
tags = [
"traefik.enable=true",
"traefik.tcp.routers.syslogngtcp.entrypoints=syslogtcp",
"traefik.tcp.routers.syslogngtcp.rule=HostSNI(`*`)",
"traefik.udp.routers.syslogngudp.entrypoints=syslogudp",
]
}
task "syslogng" {

View File

@ -120,6 +120,12 @@ job "traefik" {
[entryPoints.metrics]
address = ":8989"
[entryPoints.syslogtcp]
address = ":514"
[entryPoints.syslogudp]
address = ":514/udp"
[api]
dashboard = true