scrudden / docker-hornetq

Docker image running to HornetQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image HornetQ

Docker image running to HornetQ in Docker and azk. This non-official image for azk.

HornetQ versions(tags)

Image content:

  • Java 8 JDK
  • HornetQ stand-alone

Usage with azk

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',
    },
  },
});

Usage with docker

To run the image and bind to port 5445 and 5455:

$ docker run -d -p 5445:5445 -p 5455:5455 --name hornetq mansante/hornetq

Logs

# with azk
$ azk logs <SYSTEM>

# with docker
$ docker logs <CONTAINER_ID>

About

Docker image running to HornetQ

License:Apache License 2.0


Languages

Language:Shell 79.0%Language:Dockerfile 14.2%Language:Makefile 6.8%