guard-service/docker-compose.yml
Torma ab45b0c047
All checks were successful
continuous-integration/drone/push Build is passing
tweak compost
2020-10-03 14:12:44 +02:00

56 lines
1.3 KiB
YAML

version: '3.4'
networks:
guard:
external: false
services:
rabbitmq:
image: "rabbitmq:3-management"
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
ports:
- "127.0.0.1:1883:1883"
guard-service:
image: registry.kmlabz.com/birbnetes/guard-service
restart: always
depends_on:
- activemq
- rabbitmq
- input-service
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"
networks:
- guard
ports:
- "127.0.0.1:8080:8080"
input-service:
image: mockserver/mockserver
command: -logLevel DEBUG -serverPort 80