From 4a987e64465eedac309e8eda658bb218a309bfac Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 4 Oct 2023 21:15:01 +0200 Subject: [PATCH] add rspamd service --- nomad-job/dockermailserver.nomad | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/nomad-job/dockermailserver.nomad b/nomad-job/dockermailserver.nomad index 4ec63c3..858965d 100644 --- a/nomad-job/dockermailserver.nomad +++ b/nomad-job/dockermailserver.nomad @@ -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"]