Add newrelic

main
Paulo Gustavo Veiga 2022-02-03 18:57:18 -08:00
parent 677bfe8b89
commit 06fbf208ec
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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/
docker build -t wisemapping/wisemapping:latest -f ./Dockerfile ../wise-webapp/target/