Skip to content

Commit

Permalink
Fixes lookups passing in docker (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Apr 18, 2024
1 parent 3a3cb4b commit c911599
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ else
LOG4J_FILE="/opt/teragrep/lsh_01/etc/log4j2.xml";
fi;

exec /usr/bin/java -Dproperties.file=/config/config.properties -Dcredentials.file=/config/credentials.json -Dlog4j2.configurationFile=file:"${LOG4J_FILE}" -jar /opt/teragrep/lsh_01/share/lsh_01.jar
exec /usr/bin/java \
-Dproperties.file=/config/config.properties \
-Dcredentials.file=/config/credentials.json \
-Dlookups.hostname.file=/config/hostname.json \
-Dlookups.appname.file=/config/appname.json \
-Dlog4j2.configurationFile=file:"${LOG4J_FILE}" \
-jar /opt/teragrep/lsh_01/share/lsh_01.jar

0 comments on commit c911599

Please sign in to comment.