aboutsummaryrefslogblamecommitdiff
path: root/app/dummy/deploy/dummy-nginx.hcl
blob: a8990c60bf89302b5aab98cb46be002d9e1c3894 (plain) (tree)
1
2
3
4
5
6
7






                                 



























                                                           
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"
			}
		}
	}
}