mirror of
https://github.com/Noratrieb/dockerolat.git
synced 2026-01-14 18:05:03 +01:00
allow setting extra properties
This commit is contained in:
parent
95556e7984
commit
d8b5cd9083
3 changed files with 8 additions and 2 deletions
|
|
@ -9,4 +9,8 @@ sed -i -e "s#__DB_URL__#${DB_URL}#" "/home/openolat/conf/Catalina/localhost/ROOT
|
|||
sed -i -e "s#__HOST__#${OLAT_HOST}#" "/home/openolat/conf/server.xml"
|
||||
sed -i -e "s#__HOST__#${OLAT_HOST}#" "/home/openolat/lib/olat.local.properties"
|
||||
|
||||
if [ "$EXTRA_PROPERTIES" != "none" ]; then
|
||||
cat "$EXTRA_PROPERTIES" >> "/home/openolat/lib/olat.local.properties"
|
||||
fi
|
||||
|
||||
exec /home/openolat/tomcat/bin/catalina.sh run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue