Torma Kristóf
caf9e1c0f3
All checks were successful
continuous-integration/drone/push Build is passing
53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
version: '3.4'
|
|
|
|
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
|
|
- 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"
|
|
networks:
|
|
- guard
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
|
|
input-service:
|
|
image: mockserver/mockserver
|
|
command: -logLevel DEBUG -serverPort 80
|