From 568530fa64821e5706734daa476d9666c6a63f19 Mon Sep 17 00:00:00 2001 From: Ayden Jahola Date: Mon, 21 Oct 2024 12:35:14 +0100 Subject: [PATCH] add consul healthceck back and change db container name --- jobs/socs/dcusr-listmonk.hcl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jobs/socs/dcusr-listmonk.hcl b/jobs/socs/dcusr-listmonk.hcl index c8d902a..469b7a1 100644 --- a/jobs/socs/dcusr-listmonk.hcl +++ b/jobs/socs/dcusr-listmonk.hcl @@ -21,12 +21,12 @@ job "dcusr-listmonk" { name = "listmonk" port = "http" - #check { - # type = "http" - # path = "/" - # interval = "10s" - # timeout = "2s" - #} + check { + type = "http" + path = "/" + interval = "10s" + timeout = "2s" + } tags = [ "traefik.enable=true", @@ -83,7 +83,7 @@ EOH } } - task "dcusr-listmonk-db" { + task "listmonk-db" { driver = "docker" config {