The Docker broker setup is working with the official Apache Artemis image.
# Start broker docker compose up -d # Check it's running docker compose ps # View logs docker compose logs -f artemis # Test cd .. source .venv/bin/activate python test_manual.py send python test_manual.py receive # Stop docker compose down
apache/artemis:latest-alpine (official Apache image)etc-override/broker.xmlqit.# and test.# patternsPer official Artemis Docker documentation:
broker.xml placed in etc-override/ directory/var/lib/artemis-instance/etc-override/ in container/var/lib/artemis-instance/etc/✅ WORKS: apache/artemis:latest-alpine
❌ DOESN'T WORK: quay.io/artemiscloud/activemq-artemis-broker
The artemiscloud image does not implement the etc-override mechanism.
# Check persistence is disabled (should show "false") docker exec qit-artemis grep "persistence-enabled" /var/lib/artemis-instance/etc/broker.xml # Check QIT address settings are present docker exec qit-artemis grep -A3 'match="qit.#"' /var/lib/artemis-instance/etc/broker.xml
compose.yaml - Docker Compose configurationetc-override/broker.xml - Custom Artemis configurationREADME.md - This fileForce recreation of broker instance:
docker compose down -v # Remove volumes docker compose up -d
The compose file uses :z flag for volume mounts to handle SELinux relabeling.
Stop any existing broker:
docker compose down # Or if running locally: ./artemis-local/bin/artemis-service stop