Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
accommodate host mismatch during internal HTTPS healthcheck.
Browse files Browse the repository at this point in the history
Docker healthcheck needs curl --insecure for connecting to
  localhost using HTTP/TLS within the container.
  • Loading branch information
jcschaff committed Jun 21, 2018
1 parent 1617500 commit ae42526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
- "${VCELL_API_PORT_EXTERNAL}:8080"
- "8000" # java remote debugging
healthcheck:
test: ["CMD", "curl", "-f", "https://localhost:8080/health?check=login"]
test: ["CMD", "curl", "-f", "--insecure", https://localhost:8080/health?check=login"]
interval: 30s
timeout: 10s
retries: 3
Expand Down

0 comments on commit ae42526

Please sign in to comment.