#1298 add variable to define a custom configuration within docker

This commit is contained in:
Thoralf Rickert-Wendt 2019-10-11 17:33:50 +02:00
parent dc6afb765a
commit 7b4953a049
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ then
-days 3650 -nodes -sha256
fi
if [ ${KEEWEB_CONFIG_URL} ]
then
sed -i /\(no content\)/${KEEWEB_CONFIG_URL}/g keeweb/index.html
fi
# exec CMD
echo ">> exec docker CMD"
echo "$@"