Skip to content

Commit 0e672c3

Browse files
author
Robin Duda
committed
docker: support java_opts environment variable
1 parent 88be24d commit 0e672c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ENV default_index excelastic
2222
ENV es_authentication false
2323
ENV username root
2424
ENV password root
25+
ENV java_opts ""
2526

2627
EXPOSE 8080:8080/tcp
2728

docker/bootstrap.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
envsubst < configuration_template.json > configuration.json && java -jar excelastic.jar
1+
envsubst < configuration_template.json > configuration.json && java $java_opts -jar excelastic.jar

0 commit comments

Comments
 (0)