app origin
This commit is contained in:
2
start.sh
2
start.sh
@@ -21,6 +21,8 @@ xmlstarlet ed --inplace \
|
||||
--update '//properties/entry[@key="database.password"]' -v "${CLOUDRON_POSTGRESQL_PASSWORD}" \
|
||||
/app/data/traccar.xml
|
||||
|
||||
xmlstarlet ed --inplace --update '//properties/entry[@key="web.url"]' -v "${CLOUDRON_APP_ORIGIN}" /app/data/traccar.xml
|
||||
|
||||
xmlstarlet ed --inplace \
|
||||
--update '//properties/entry[@key="ldap.url"]' -v "${CLOUDRON_LDAP_URL}" \
|
||||
--update '//properties/entry[@key="ldap.base"]' -v "${CLOUDRON_LDAP_USERS_BASE_DN}" \
|
||||
|
@@ -23,6 +23,8 @@
|
||||
<entry key='database.user'>##CLOUDRON_POSTGRESQL_USERNAME##</entry>
|
||||
<entry key='database.password'>##CLOUDRON_POSTGRESQL_PASSWORD##</entry>
|
||||
|
||||
<entry key='web.url'>##CLOUDRON_APP_ORIGIN##</entry>
|
||||
|
||||
<entry key='ldap.enable'>true</entry>
|
||||
<entry key='ldap.url'>##CLOUDRON_LDAP_URL##</entry>
|
||||
<entry key='ldap.base'>##CLOUDRON_LDAP_USERS_BASE_DN##</entry>
|
||||
|
Reference in New Issue
Block a user