infra/ansible/roles/docker-repo/files/docker-repo.hcl

13 lines
197 B
HCL

services {
id = "docker-repo"
name = "docker-repo"
port = 5000
checks = [
{
args = ["nc", "-z", "-v", "localhost", "5000"]
interval = "5s"
timeout = "20s"
}
]
}