infra/ansible/roles/nexus/files/nexus.hcl

25 lines
372 B
HCL

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