1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/traccar_ynh.git synced 2024-09-03 20:35:56 +02:00
traccar_ynh/conf/traccar.xml
2023-11-19 14:02:19 +01:00

43 lines
1.9 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>
<entry key='config.default'>./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://localhost/__DB_NAME__?zeroDateTimeBehavior=round&amp;serverTimezone=UTC&amp;allowPublicKeyRetrieval=true&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
<entry key='database.user'>__DB_USER__</entry>
<entry key='database.password'>__DB_PWD__</entry>
<entry key='web.port'>__PORT__</entry>
<entry key='media.path '>__DATA_DIR__</entry>
<entry key='mail.smtp.host'>localhost</entry>
<entry key='mail.smtp.port'>25</entry>
<entry key='mail.transport.protocol'>smtp</entry>
<entry key='mail.smtp.starttls.enable'>false</entry>
<entry key='mail.smtp.username'>__APP__</entry>
<entry key='mail.smtp.password'>__MAIL_PWD__</entry>
<!--
<entry key='ldap.url'>ldap://127.0.0.1</entry>
<entry key='ldap.port'>389</entry>
<entry key='ldap.base'>ou=users,dc=yunohost,dc=org</entry>
<entry key='ldap.searchFilter'>(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))</entry>
-->
</properties>