From 92a70b5611c7883eb6e262a899125a64f58b31cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Fri, 22 May 2020 02:50:08 +0200 Subject: [PATCH] change name in docker cmd --- Dockerfile | 2 +- docker-compose.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 739dfc9..67a98f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,4 +11,4 @@ USER $APPLICATION_USER COPY ./build/libs/messagequeue-glue-1.0-SNAPSHOT.jar /app/messagequeue-glue-1.0-SNAPSHOT.jar WORKDIR /app -CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "input-service.jar"] \ No newline at end of file +CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "messagequeue-glue-1.0-SNAPSHOT.jar"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 692d819..6831414 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -58,6 +58,18 @@ services: - rabbitmq - input-service-postgres + mq-glue: + image: "registry.kmlabz.com/tormakris/messagequeue-glue" + restart: "always" + environment: + MQ_HOST: rabbitmq + MQ_USERNAME: rabbitmq + MQ_PASSWORD: rabbitmq + MQ_IN_EXCHANGE: input + MQ_OUT_EXCHANGE: output + depends_on: + - rabbitmq + rabbitmq: image: "rabbitmq:3-management" hostname: "rabbitmq"