docker-compose.yml
version: '3.8'
services:
activemq-master:
image: webcenter/activemq
restart: unless-stopped
ports:
- 61616:61616
- 8161:8161
volumes:
- ./data:/data/activemq
- ./log:/var/log/activemq
environment:
- ACTIVEMQ_ADMIN_LOGIN=admin
- ACTIVEMQ_ADMIN_PASSWORD=admin
- ACTIVEMQ_CONFIG_MINMEMORY=512
- ACTIVEMQ_CONFIG_MAXMEMORY=2048
- TZ=Asia/Shanghai
privileged: true