From 06fbf208ec5922ce50ef30bd7f0caf2a115687c1 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Thu, 3 Feb 2022 18:57:18 -0800 Subject: [PATCH] Add newrelic --- distribution/Dockerfile | 3 +-- distribution/build-image.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/distribution/Dockerfile b/distribution/Dockerfile index bac83127..b85b8a62 100644 --- a/distribution/Dockerfile +++ b/distribution/Dockerfile @@ -10,8 +10,7 @@ ARG WEBAPP_TARGET_DIR="/usr/local/tomcat/webapps/ROOT" ARG DB_BASE_DIR="/var/lib/wisemapping" # Defautl ENV configurations ... -ENV JAVA_OPTS="-XX:+PrintFlagsFinal -XX:InitialRAMPercentage=30 -XX:MaxRAMPercentage=80" -ENV database.base.url=${DB_BASE_DIR} +ENV JAVA_OPTS="-XX:+PrintFlagsFinal -XX:InitialRAMPercentage=30 -XX:MaxRAMPercentage=80 -Dnewrelic.config.log_file_name=STDOUT"ENV database.base.url=${DB_BASE_DIR} # Copy wisemapping distribution ... COPY wisemapping.war /tmp diff --git a/distribution/build-image.sh b/distribution/build-image.sh index a6ded6a4..fba25e92 100755 --- a/distribution/build-image.sh +++ b/distribution/build-image.sh @@ -4,4 +4,4 @@ set -o set -u mvn -f ../pom.xml clean package -docker build -t veigap/wisemapping:latest -f ./Dockerfile ../wise-webapp/target/ \ No newline at end of file +docker build -t wisemapping/wisemapping:latest -f ./Dockerfile ../wise-webapp/target/