refactor(activemq): Simplify volume mappings in docker-compose.yml

This commit is contained in:
brightching 2024-11-15 19:20:09 +08:00
parent 0c28535462
commit 08f5ee610d
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ services:
- "${WEB_PORT}:8161"
- "${OPEN_WIRE_PROT}:61616"
volumes:
- "./conf/activemq.xml:/opt/apache-activemq/conf/"
- "./data/activemq-data:/opt/apache-activemq/data"
- ./conf:/opt/apache-activemq/conf
- ./data:/opt/apache-activemq/data
environment:
ACTIVEMQ_BROKER_NAME: ms-broker-a
restart: unless-stopped