diff --git a/singh3.nomad b/singh3.nomad new file mode 100644 index 0000000..c86508e --- /dev/null +++ b/singh3.nomad @@ -0,0 +1,63 @@ +job "singh3" { + region = "global" + datacenters = [ "nazrin" ] + type = "service" + group "svc" { + count = 1 + network { + mode = "bridge" + port "db" { + to = 5432 + } + } + vault { + policies = [ "singh3-policy" ] + } + service { + name = "singh3-db" + port = "db" + } + task "db" { + template { + data = <