53 lines
2.3 KiB
XML
53 lines
2.3 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
|
|
|
|
<properties>
|
|
|
|
<entry key='config.default'>/app/code/conf/default.xml</entry>
|
|
|
|
<!--
|
|
|
|
This is the main configuration file. All your configuration parameters should be placed in this file.
|
|
|
|
Default configuration parameters are located in the "default.xml" file. You should not modify it to avoid issues
|
|
with upgrading to a new version. Parameters in the main config file override values in the default file. Do not
|
|
remove "config.default" parameter from this file unless you know what you are doing.
|
|
|
|
For list of available parameters see following page: https://www.traccar.org/configuration-file/
|
|
|
|
-->
|
|
|
|
<entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
|
|
<entry key='database.url'>jdbc:mysql://##CLOUDRON_MYSQL_HOST##:##CLOUDRON_MYSQL_PORT##/##CLOUDRON_MYSQL_DATABASE##</entry>
|
|
<entry key='database.user'>##CLOUDRON_MYSQL_USERNAME##</entry>
|
|
<entry key='database.password'>##CLOUDRON_MYSQL_PASSWORD##</entry>
|
|
|
|
<entry key='web.url'>##CLOUDRON_APP_ORIGIN##</entry>
|
|
|
|
<entry key='openid.clientId'>##CLOUDRON_OIDC_CLIENT_ID##</entry>
|
|
<entry key='openid.clientSecret'>##CLOUDRON_OIDC_CLIENT_SECRET##</entry>
|
|
<entry key='openid.issuerUrl'>##CLOUDRON_OIDC_ISSUER##</entry>
|
|
<entry key='openid.authUrl'>##CLOUDRON_OIDC_AUTH_ENDPOINT##</entry>
|
|
<entry key='openid.tokenUrl'>##CLOUDRON_OIDC_TOKEN_ENDPOINT##</entry>
|
|
<entry key='openid.userInfoUrl'>##CLOUDRON_OIDC_PROFILE_ENDPOINT##</entry>
|
|
|
|
<entry key='mail.smtp.host'>smtp.gmail.com</entry>
|
|
<entry key='mail.smtp.port'>587</entry>
|
|
<entry key='mail.smtp.starttls.enable'>true</entry>
|
|
<entry key='mail.smtp.from'>YourAddress@gmail.com</entry>
|
|
<entry key='mail.smtp.auth'>true</entry>
|
|
<entry key='mail.smtp.username'>YourAddress@gmail.com</entry>
|
|
<entry key='mail.smtp.password'>YourPassword</entry>
|
|
|
|
<entry key='logger.console'>true</entry>
|
|
<entry key='logger.queries'>false</entry>
|
|
<entry key='logger.level'>config</entry>
|
|
<entry key='logger.fullStackTraces'>true</entry>
|
|
|
|
<!-- https://github.com/traccar/traccar/blob/8eecfdcf5c59f92158a6c339d1622e0e9d67968c/src/main/java/org/traccar/config/Keys.java -->
|
|
<entry key='users.defaultDeviceLimit'>-1</entry>
|
|
<entry key='media.path'>/app/data/media</entry>
|
|
|
|
</properties>
|