Skip to content

Commit

Permalink
bump amq, fix health check
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbiam committed Jul 16, 2024
1 parent 7f760c0 commit b166657
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:22.04
MAINTAINER Tremolo Security, Inc. - Docker <[email protected]>

ENV JDK_VERSION=1.11.0 \
ACTIVEMQ_VERSION=5.16.6 \
ACTIVEMQ_VERSION=5.18.4 \
DBCP_VERSION=1.4 \
MYSQL_VERSION=8.0.28 \
MARIADB_VERSION=3.0.3 \
Expand Down
4 changes: 3 additions & 1 deletion health_check.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

curl http://127.0.0.1:8161/api/jolokia/exec/org.apache.activemq:type=Broker,brokerName=localhost,service=Health/healthStatus 2>/dev/null | jq -r '.value'


curl -H "Origin:http://127.0.0.1" http://127.0.0.1:8161/api/jolokia/exec/org.apache.activemq:type=Broker,brokerName=localhost,service=Health/healthStatus 2>/dev/null | jq -r '.value'

0 comments on commit b166657

Please sign in to comment.