add rspamd service
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2023-10-04 21:15:01 +02:00
parent db04c1b678
commit 4a987e6446

View File

@ -89,6 +89,25 @@ job "dockermailserver" {
"traefik.http.routers.certmail.tls.certresolver=myresolver",
]
}
service {
name = "rspamdUI"
port = "rspamd"
tags = [
"homer.enable=true",
"homer.name=RSPAMD",
"homer.service=Application",
"homer.logo=http://${NOMAD_ADDR_rspamd}/img/rspamd_logo_navbar.png",
"homer.target=_blank",
"homer.url=http://${NOMAD_ADDR_rspamd}/",
]
check {
name = "rspamd_probe"
type = "http"
path = "/"
interval = "60s"
timeout = "2s"
}
}
# vault{
# policies= ["policy_name"]