Docker image running to HornetQ in Docker and azk. This non-official image for azk.
- 2.4.0.Final : pure version.
- 2.4.0-dev : low memory.
- Java 8 JDK
- HornetQ stand-alone
Example of using this image with azk:
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
hornetq: {
// More images: http://images.azk.io
image: {'docker': 'mansante/hornetq'},
scalable: false,
wait: {'retry': 20, 'timeout': 300},
ports: {
jms: '5445:5445/tcp',
batch: '5455:5455/tcp',
},
},
});
Example of using this image with local folder config:
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
hornetq: {
// More images: http://images.azk.io
image: {'docker': 'mansante/hornetq'},
scalable: false,
wait: {'retry': 20, 'timeout': 300},
shell: '/bin/bash',
command: 'bash ./run.sh /config',
mounts: {
// copnfig - internal folder on the container
// conf/hornetq - local path hornetq configurations
'/config': path("conf/hornetq"),
},
ports: {
jms: '5445:5445/tcp',
batch: '5455:5455/tcp',
},
},
});
To run the image and bind to port 5445 and 5455:
$ docker run -d -p 5445:5445 -p 5455:5455 --name hornetq mansante/hornetq
# with azk
$ azk logs <SYSTEM>
# with docker
$ docker logs <CONTAINER_ID>