Skip to content

Commit

Permalink
docker-compose: add ActiveMQ container
Browse files Browse the repository at this point in the history
This provides a container that speaks both STOMP and AMQP.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Nov 11, 2021
1 parent 1695059 commit 3c2ad90
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ x-anchors:
redis: &redis-image docker.io/library/redis:6.2
go: &go-image quay.io/projectquay/golang:1.17
skopeo: &skopeo-image quay.io/skopeo/stable:latest
activemq: &activemq-image docker.io/rmohr/activemq:5.15.9-alpine
clair-service: &clair-service
image: *go-image
depends_on:
Expand Down Expand Up @@ -147,28 +148,13 @@ services:
- -D
- -key
- c2VjcmV0

activemq:
# This provides STOMP and AMQP on the usual ports.
# The web UI is broken; help wanted.
container_name: clair-activemq
profiles:
- TODO
hostname: clair-activemq
image: docker.io/webcenter/activemq:5.14.3
ports:
- "8161:8161"
- "61613:61613"

rabbitmq:
container_name: clair-rabbitmq
profiles:
- TODO
hostname: clair-rabbitmq
image: docker.io/library/rabbitmq:3.8.5-management
ports:
- "5672:5672"
- "8087:15672"
environment:
RABBITMQ_VM_MEMORY_HIGH_WATERMARK: "85%"
- notifier
image: *activemq-image

# Quay -- starts a Quay stack for integration testing.
# Use profile 'quay'
Expand Down

0 comments on commit 3c2ad90

Please sign in to comment.