updated gocd-docker-compose.yml

pull/2/head
Hari Sekhon 5 years ago
parent 67e0db34a6
commit af53d8a4e3

@ -21,7 +21,7 @@ services:
- 8153:8153 - 8153:8153
healthcheck: healthcheck:
#test: ["CMD", "curl", "-f", "http://localhost:8153/go/api/v1/health"] #test: ["CMD", "curl", "-f", "http://localhost:8153/go/api/v1/health"]
# set this to /bin/true in development to stop the containing going down so you can debug # export DOCKER_HEALTHCHECK=/bin/true in development to bypass healthcheck
test: "${DOCKER_HEALTHCHECK:-curl http://localhost:8153/go/api/v1/health}" test: "${DOCKER_HEALTHCHECK:-curl http://localhost:8153/go/api/v1/health}"
interval: 30s interval: 30s
#start_period: 30s # version 3.4+ #start_period: 30s # version 3.4+
@ -41,7 +41,7 @@ services:
AGENT_STARTUP_ARGS: -Dgo.agent.status.api.bind.host=0.0.0.0 AGENT_STARTUP_ARGS: -Dgo.agent.status.api.bind.host=0.0.0.0
healthcheck: healthcheck:
#test: ["CMD", "curl", "-f", "http://localhost:8152/health/v1/isConnectedToServer"] #test: ["CMD", "curl", "-f", "http://localhost:8152/health/v1/isConnectedToServer"]
# set this to /bin/true in development to stop the containing going down so you can debug # export DOCKER_HEALTHCHECK=/bin/true in development to bypass healthcheck
test: "${DOCKER_HEALTHCHECK:-curl http://localhost:8152/health/v1/isConnectedToServer}" test: "${DOCKER_HEALTHCHECK:-curl http://localhost:8152/health/v1/isConnectedToServer}"
interval: 30s interval: 30s
#start_period: 30s # version 3.4+ #start_period: 30s # version 3.4+

Loading…
Cancel
Save