Skip to content

Instantly share code, notes, and snippets.

@orpiske
Created August 14, 2018 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orpiske/2211054f6445a6a6d4387c1558ddeb72 to your computer and use it in GitHub Desktop.
Save orpiske/2211054f6445a6a6d4387c1558ddeb72 to your computer and use it in GitHub Desktop.
version: '3'
networks:
cluster:
driver: overlay
test:
driver: overlay
services:
broker:
image: 127.0.0.1:5000/maestro_broker
build: broker
networks:
- cluster
ports:
- "18161:8161"
- "1884:1883"
deploy:
replicas: 1
placement:
constraints:
- node.labels.maestro.node.role == infra
sut:
# image: 127.0.0.1:5000/maestro_sut
# build: suts/apache-artemis
# Comment the line above and uncomment the 4 lines below
# to use QPid Dispatch as the SUT
image: 127.0.0.1:5000/maestro_sut
build:
context: suts/qpid-dispatch
args:
- QPID_DISPATCH_VERSION=1.3.0
networks:
- test
ports:
- "5672:5672"
- "8161:8161"
- "61613:61613"
- "61616:61616"
deploy:
replicas: 1
placement:
constraints:
- node.labels.maestro.node.role == infra
version: '3'
networks:
cluster:
driver: overlay
test:
driver: overlay
services:
receiver:
image: 127.0.0.1:5000/maestro_receiver
build:
context: workers/receiver
args:
- MAESTRO_WORKER_VERSION=1.4.0
- MAESTRO_BRANCH=maestro-java-1.4.0
ports:
- "18000:8000"
networks:
- cluster
- test
depends_on:
- broker
- sut
deploy:
replicas: 1
placement:
constraints:
- node.labels.maestro.node.role == worker
sender:
image: 127.0.0.1:5000/maestro_sender
build:
context: workers/sender
args:
- MAESTRO_WORKER_VERSION=1.4.0
- MAESTRO_BRANCH=maestro-java-1.4.0
ports:
- "28000:8000"
networks:
- cluster
- test
depends_on:
- receiver
deploy:
replicas: 1
placement:
constraints:
- node.labels.maestro.node.role == worker
# inspector:
# image: 127.0.0.1:5000/maestro_inspector
# build:
# context: workers/inspector
# args:
# - MAESTRO_WORKER_VERSION=1.4.0
# - MAESTRO_BRANCH=maestro-java-1.4.0
# ports:
# - "38000:8000"
# networks:
# - cluster
# - test
# depends_on:
# - receiver
# deploy:
# replicas: 1
# placement:
# constraints:
# - node.labels.maestro.node.role == worker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment