From 981294e3d7a180a3c08f8173dc652b73b6e2bd07 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Aug 2022 15:44:40 +0200 Subject: Move dummy nginx to cluster/staging --- app/dummy/deploy/dummy-nginx.hcl | 35 ------------------------ cluster/staging/app/dummy/deploy/dummy-nginx.hcl | 35 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 app/dummy/deploy/dummy-nginx.hcl create mode 100644 cluster/staging/app/dummy/deploy/dummy-nginx.hcl diff --git a/app/dummy/deploy/dummy-nginx.hcl b/app/dummy/deploy/dummy-nginx.hcl deleted file mode 100644 index a8990c6..0000000 --- a/app/dummy/deploy/dummy-nginx.hcl +++ /dev/null @@ -1,35 +0,0 @@ -job "dummy-nginx" { - datacenters = ["neptune"] - type = "service" - - group "nginx" { - count = 1 - - network { - port "http" { - to = 80 - } - } - - task "nginx" { - driver = "docker" - config { - image = "nginx" - ports = [ "http" ] - } - } - - service { - port = "http" - tags = [ - "tricot home.adnab.me 100", - ] - check { - type = "http" - path = "/" - interval = "10s" - timeout = "2s" - } - } - } -} diff --git a/cluster/staging/app/dummy/deploy/dummy-nginx.hcl b/cluster/staging/app/dummy/deploy/dummy-nginx.hcl new file mode 100644 index 0000000..a8990c6 --- /dev/null +++ b/cluster/staging/app/dummy/deploy/dummy-nginx.hcl @@ -0,0 +1,35 @@ +job "dummy-nginx" { + datacenters = ["neptune"] + type = "service" + + group "nginx" { + count = 1 + + network { + port "http" { + to = 80 + } + } + + task "nginx" { + driver = "docker" + config { + image = "nginx" + ports = [ "http" ] + } + } + + service { + port = "http" + tags = [ + "tricot home.adnab.me 100", + ] + check { + type = "http" + path = "/" + interval = "10s" + timeout = "2s" + } + } + } +} -- cgit v1.2.3