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

This commit is contained in:
brightching 2024-11-15 19:18:10 +08:00
parent 35a36593c2
commit 0c28535462
1 changed files with 2 additions and 2 deletions

View File

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