Skip to content

Commit

Permalink
Fix healthcheck for addonindeox image
Browse files Browse the repository at this point in the history
addonindex uses docker.io/paketobuildpacks/run:base-cnb that doesn't have curl, so healthcheck now just checks for running java process
  • Loading branch information
bmamlin committed May 10, 2022
1 parent 531b7e5 commit b83aff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/addons/docker-compose.yml
Expand Up @@ -12,7 +12,7 @@ services:
- BINTRAY_USERNAME
- BINTRAY_API_KEY
healthcheck:
test: ["CMD", "curl", "-sSL", "http://localhost:8080/"]
test: ["CMD-SHELL", "[ $$(ps -o comm= -p 1) = \"java\" ]"]
timeout: 15s
links:
- elasticsearch
Expand Down

0 comments on commit b83aff7

Please sign in to comment.