Add java opts override support
@@ -11,5 +11,8 @@ if [[ -z "${MARQUEZ_CONFIG}" ]]; then
echo "WARNING 'MARQUEZ_CONFIG' not set, using development configuration."
fi
-# Start http server with configuration
-java -Duser.timezone=UTC -Dlog4j2.formatMsgNoLookups=true -jar marquez-*.jar server "${MARQUEZ_CONFIG}"
+# Adjust java options for the http server
+JAVA_OPTS="${JAVA_OPTS} -Duser.timezone=UTC -Dlog4j2.formatMsgNoLookups=true"
+
+# Start http server with java options and configuration
+java ${JAVA_OPTS} -jar marquez-*.jar server ${MARQUEZ_CONFIG}
