2020-08-06 23:48:04 +02:00
|
|
|
version: '3.4'
|
|
|
|
|
|
|
|
networks:
|
|
|
|
cnn:
|
|
|
|
external: false
|
|
|
|
|
|
|
|
services:
|
|
|
|
rabbitmq:
|
2020-08-07 00:20:09 +02:00
|
|
|
image: "rabbitmq:3-management"
|
2020-08-06 23:48:04 +02:00
|
|
|
hostname: "test-rabbitmq"
|
|
|
|
environment:
|
|
|
|
RABBITMQ_ERLANG_COOKIE: "akjahsfvbkueasnvfjkhsga"
|
|
|
|
RABBITMQ_DEFAULT_USER: "rabbitmq"
|
|
|
|
RABBITMQ_DEFAULT_PASS: "rabbitmq"
|
|
|
|
RABBITMQ_DEFAULT_VHOST: "/"
|
|
|
|
networks:
|
|
|
|
- cnn
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:15672:15672"
|
|
|
|
- "127.0.0.1:5672:5672"
|
|
|
|
|
2020-08-07 00:02:07 +02:00
|
|
|
cnn-service:
|
|
|
|
image: registry.kmlabz.com/birbnetes/cnn-classification-service
|
2020-08-06 23:48:04 +02:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
2020-08-07 00:02:07 +02:00
|
|
|
- rabbitmq
|
2020-08-06 23:48:04 +02:00
|
|
|
environment:
|
|
|
|
SENTRY_DSN: https://094270eeb6a7450ead80e87d04cd7552@sentry.kmlabz.com/4
|
|
|
|
RELEASE_ID: compose
|
|
|
|
RELEASEMODE: dev
|
|
|
|
PIKA_URL: amqp://rabbitmq:rabbitmq@rabbitmq:5672/
|
|
|
|
PIKA_INPUT_EXCHANGE: wave
|
|
|
|
PIKA_OUTPUT_EXCHANGE: sample
|
|
|
|
networks:
|
|
|
|
- cnn
|