2020-08-06 17:33:57 +02:00
|
|
|
version: '3.4'
|
|
|
|
|
2020-07-18 12:34:52 +02:00
|
|
|
networks:
|
|
|
|
guard:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
rabbitmq:
|
|
|
|
image: "rabbitmq:3"
|
|
|
|
hostname: "test-rabbitmq"
|
|
|
|
environment:
|
|
|
|
RABBITMQ_ERLANG_COOKIE: "akjahsfvbkueasnvfjkhsga"
|
|
|
|
RABBITMQ_DEFAULT_USER: "rabbitmq"
|
|
|
|
RABBITMQ_DEFAULT_PASS: "rabbitmq"
|
|
|
|
RABBITMQ_DEFAULT_VHOST: "/"
|
|
|
|
networks:
|
|
|
|
- guard
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:15672:15672"
|
|
|
|
- "127.0.0.1:5672:5672"
|
|
|
|
|
|
|
|
activemq:
|
|
|
|
image: registry.kmlabz.com/birbnetes/activemq-artemis
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- guard
|
|
|
|
|
|
|
|
guard-service:
|
|
|
|
image: registry.kmlabz.com/birbnetes/guard-service
|
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
- activemq
|
2020-08-06 17:33:57 +02:00
|
|
|
- rabbitmq
|
|
|
|
environment:
|
|
|
|
SENTRY_DSN: "https://5c925c5a898b4b7d82ee51cd544de623@sentry.kmlabz.com/3"
|
|
|
|
GUARD_RABBITMQ_HOSTNAME: rabbitmq
|
|
|
|
GUARD_RABBITMQ_USERNAME: rabbitmq
|
|
|
|
GUARD_RABBITMQ_PASSWORD: rabbitmq
|
|
|
|
GUARD_RABBITMQ_EXCHANGE: "sample"
|
|
|
|
GUARD_MQTT_HOSTNAME: activemq
|
|
|
|
GUARD_MQTT_PORT: "1883"
|
|
|
|
GUARD_MQTT_USERNAME: artemis
|
|
|
|
GUARD_MQTT_PASSWORD: artemis
|
|
|
|
GUARD_MQTT_TOPIC: "command"
|
2020-07-18 12:34:52 +02:00
|
|
|
networks:
|
|
|
|
- guard
|
|
|
|
ports:
|
2020-08-06 17:33:57 +02:00
|
|
|
- "127.0.0.1:8080:8080"
|
|
|
|
|
|
|
|
input-service:
|
|
|
|
image: mockserver/mockserver
|
|
|
|
command: -logLevel DEBUG -serverPort 80
|