symptoma / activemq Goto Github PK
View Code? Open in Web Editor NEWDockerfile for the ActiveMQ
License: MIT License
Dockerfile for the ActiveMQ
License: MIT License
ActiveMQ security (JMS) is not enabled even if a ACTIVEMQ_USERNAME is set.
How to reproduce:
Start the container: docker run --rm -it -e ACTIVEMQ_PASSWORD=x -e ACTIVEMQ_USERNAME=q symptoma/activemq:latest
Go inside container : docker exec -it CONTAINER_ID sh
And execute: /opt/activemq/bin/activemq browse --amqurl tcp://localhost:61616 MYQUEUE without any credentials
To fix: I think you have to add in activemq.xml a section as described in one of these links:
Replace ACTIVEMQ_DISALLOW_WEBCONSOLE wtih an actual option name
It would be great to be able to configure jetty by env-vars instead of mapping in a modified jetty.xml file ( see #4)
e.g.
This way, it would be easy to run e.g. in Amazon ECS or any other container service.
Modifications may be performed e.g. by using an entrypoint script which performs the necessary changes in conf/jetty.xml and conf/log4j2.properties
HI,
Have you tested docker image of ActiveMQ 5.16.0 with JDK11?
It would be great to have the ability to enable schedulerSupport via an environment variable.
This would require updating the <broker ...>
tag in the conf/activemq.xml to include schedulerSupport="true"
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}">
change to
<broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.data}" schedulerSupport="true" >
This would allow messages to be scheduled and/or have a deliveryDelay.
Thank you for your project and thank you in advance for considering this request.
where is kahadb located and if it is growing how do handle the size of it?
Would be nice to have the latest version 5.18.2 available as docker image.
Release notes: https://activemq.apache.org/activemq-5018002-release
@tholu I am trying out your docker image as a "sandbox " for my development machine and I read the following:
Since 5.16.0 the Web Console is not reachable by default, as it only listens to 127.0.0.1 inside the container. See AMQ-8018 for more details.
Is the expectation that users of the image would manually implement what AMQ-8018 is saying.
Have you considered this approach (Editing files from dockerfile). By Adding the following line after your RUN
command in the Dockerfile I was able to access the console via the browser.
RUN sed -i "s|127.0.0.1|0.0.0.0|g" $ACTIVEMQ_HOME/conf/jetty.xml
I would be interested to know your take on this workaround for a "development" environment
Thanks in advance,
max
5.15.3 is released: http://activemq.apache.org/
Changelog: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210&version=12341947
Is it possible to get metrics from ActiveMQ which can be monitored using Prometheus and then a Grafana dashboard is created to display these metrics
Here is the tutorial which I am trying to follow but not sure how to do it in proper way.
Kindly, direct me to proper resources or provide some hints.
Thanks in advance!!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.