change name in docker cmd
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-05-22 02:50:08 +02:00
parent 1ff128ffb9
commit 92a70b5611
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 13 additions and 1 deletions

View File

@ -11,4 +11,4 @@ USER $APPLICATION_USER
COPY ./build/libs/messagequeue-glue-1.0-SNAPSHOT.jar /app/messagequeue-glue-1.0-SNAPSHOT.jar COPY ./build/libs/messagequeue-glue-1.0-SNAPSHOT.jar /app/messagequeue-glue-1.0-SNAPSHOT.jar
WORKDIR /app 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"] 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"]

View File

@ -58,6 +58,18 @@ services:
- rabbitmq - rabbitmq
- input-service-postgres - 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: rabbitmq:
image: "rabbitmq:3-management" image: "rabbitmq:3-management"
hostname: "rabbitmq" hostname: "rabbitmq"