Skip to content

Kreditorforeningens-Driftssentral-DA/container-image-activemq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACTIVEMQ

Build (Packer) Build (Docker)

Container image for ActiveMQ (Classic)

External Links

DOCKER HUB IMAGE

Default credentials:

  • Username: system
  • Password: manager
# Using docker-compose in example/ folder
cd example
docker-compose up

# Running standalone
docker run --rm -it -p 8161:8161 kdsda/activemq:latest

VARIABLES

The container supports the following customization before startup

VARIABLE TYPE DEFAULT DESCRIPTION
ACTIVEMQ_USERNAME string system
ACTIVEMQ_USERNAME string manager
POSTGRES_ENABLED bool false Use postgres persistence backend
POSTGRES_HOST string postgres
POSTGRES_PORT int 5432
POSTGRES_DATABASE string postgres
POSTGRES_USERNAME string postgres
POSTGRES_PASSWORD string postgres
POSTGRES_INIT bool false Initialize database on startup
POSTGRES_CONN_INIT int 2
POSTGRES_CONN_IDLE int 4
POSTGRES_CONN_MAX int 8
HAWTIO_ENABLED bool false Set 'true' to enable HawtIO (:8161/hawtio)
LOG4J_LOGLEVEL string INFO
LOG4J_LOGFILE string /tmp/amq.log
STOMP_ENABLED bool false
AMPQ_ENABLED bool false
MQTT_ENABLED bool false
WS_ENABLED bool false
OPENWIRE_ENABLED bool true
OPENWIRE_MAXINACTIVITY int 0
OPENWIRE_MAXCONN int 1000
OPENWIRE_MAXFRAMESIZE int 1048576000
AUTH_ENABLED boot true Set 'false' to disable authentication

GITHUB IMAGE

See docker/README.md

CHECK JAVA SETTINGS

# Example: JAVA_TOOL_OPTIONS="-XX:MaxRAMPercentage=75.0 -XX:InitialRAMPercentage=25.0 -XX:+ExitOnOutOfMemoryError"
java -XX:+PrintFlagsFinal -version | grep -E "UseContainerSupport | InitialRAMPercentage | MaxRAMPercentage | MinRAMPercentage | MaxHeapSize | ExitOnOutOfMemoryError"