This commit is contained in:
parent
7b969ec991
commit
e7e6acd0b9
@ -24,7 +24,7 @@ def message_callback(ch, method, properties, body):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
logging.basicConfig(filename="", format="%(asctime)s - %(name)s [%(levelname)s]: %(message)s",
|
logging.basicConfig(stream=sys.stdout, filename="", format="%(asctime)s - %(name)s [%(levelname)s]: %(message)s",
|
||||||
level=logging.DEBUG if '--debug' in sys.argv else logging.INFO)
|
level=logging.DEBUG if '--debug' in sys.argv else logging.INFO)
|
||||||
|
|
||||||
SENTRY_DSN = os.environ.get("SENTRY_DSN")
|
SENTRY_DSN = os.environ.get("SENTRY_DSN")
|
||||||
|
36
docker-compose.yml
Normal file
36
docker-compose.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
version: '3.4'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
cnn:
|
||||||
|
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:
|
||||||
|
- cnn
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:15672:15672"
|
||||||
|
- "127.0.0.1:5672:5672"
|
||||||
|
|
||||||
|
cnc-service:
|
||||||
|
image: registry.kmlabz.com/birbnetes/activemq-artemis
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- activemq
|
||||||
|
- postgres
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user