Skip to content

Commit

Permalink
test(smoketest): add healthcheck to -reports container (cryostatio#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores authored Jan 25, 2024
1 parent f459563 commit 20f05ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions smoketest/compose/reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ services:
environment:
JAVA_OPTS_APPEND: "-Dcom.sun.management.jmxremote.autodiscovery=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=11224 -Dcom.sun.management.jmxremote.rmi.port=11224 -Djava.rmi.server.hostname=reports -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=false"
QUARKUS_HTTP_PORT: 10001
healthcheck:
test: curl --fail http://localhost:10001/ || exit 1
retries: 3
interval: 30s
start_period: 30s
timeout: 1s

0 comments on commit 20f05ea

Please sign in to comment.