dmarc ui
This commit is contained in:
62
apps/dmarc/live.hcl
Normal file
62
apps/dmarc/live.hcl
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
job "dmarc" {
|
||||||
|
datacenters = [
|
||||||
|
"nummer5",
|
||||||
|
]
|
||||||
|
type = "service"
|
||||||
|
|
||||||
|
group "apps" {
|
||||||
|
count = 1
|
||||||
|
|
||||||
|
network {
|
||||||
|
mode = "host"
|
||||||
|
port "http" {
|
||||||
|
to = 8080
|
||||||
|
}
|
||||||
|
}
|
||||||
|
service {
|
||||||
|
name = "dmarc"
|
||||||
|
port = "http"
|
||||||
|
|
||||||
|
tags = [
|
||||||
|
"traefik.enable=true",
|
||||||
|
"traefik.http.routers.dmarc.rule=Host(`dmarc.service.nr5`)",
|
||||||
|
]
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
restart {
|
||||||
|
attempts = 5
|
||||||
|
delay = "30s"
|
||||||
|
}
|
||||||
|
|
||||||
|
task "dmarc" {
|
||||||
|
driver = "podman"
|
||||||
|
|
||||||
|
config {
|
||||||
|
image = "cr.wks/dmarc-report:latest"
|
||||||
|
ports = ["http"]
|
||||||
|
}
|
||||||
|
|
||||||
|
env {
|
||||||
|
TZ = "Europe/Berlin"
|
||||||
|
REPORT_DB_TYPE = "pgsql"
|
||||||
|
PARSER_DB_TYPE = "pgsql"
|
||||||
|
PARSER_DB_HOST = "postgres.service.nr5"
|
||||||
|
PARSER_DB_NAME = "dmarc-srg"
|
||||||
|
PARSER_DB_USER = "dmarc"
|
||||||
|
PARSER_DB_PASSWORD = "4XSS4gKpheSBoMsIs"
|
||||||
|
PARSER_IMAP_PORT = "143"
|
||||||
|
PARSER_IMAP_HOST = "xximap.maketank.net"
|
||||||
|
PARSER_IMAP_USER = "dmarc-inbox@maketank.net"
|
||||||
|
PARSER_IMAP_PASSWORD = "j2Kwd6mVPZw2yMLw2gIKwn"
|
||||||
|
PARSER_IMAP_READ_FOLDER = "Inbox"
|
||||||
|
}
|
||||||
|
|
||||||
|
resources {
|
||||||
|
cpu = 200
|
||||||
|
memory = 512
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user