25 lines
372 B
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"
|
|
}
|
|
]
|
|
}
|