<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
<properties>

    <!-- Documentation: https://www.traccar.org/configuration-file/ -->

    <!-- MySQL/MariaDB -->
    <entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost:3306/traccar?createDatabaseIfNotExist=true&amp;serverTimezone=UTC&amp;allowPublicKeyRetrieval=true&amp;useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8</entry>
    <entry key='database.user'>traccar</entry>
    <entry key='database.password'>4axdNHy@glLU@t*D</entry>

    <!-- Origin must match the HTTPS URL for CORS -->
    <entry key='web.origin'>https://track.rosille.com.ng</entry>

    <entry key='web.path'>./web</entry>
    <entry key='web.port'>8082</entry>
    <entry key='media.path'>./media</entry>

    <!-- Hardening: keep these off in production -->
    <entry key='web.sameSiteCookie'>Lax</entry>
    <entry key='web.console'>false</entry>
    <entry key='web.debug'>false</entry>
    <entry key='web.mcp.enable'>false</entry>

    <!-- Logging: console=false so logs go to file -->
    <entry key='logger.enable'>true</entry>
    <entry key='logger.console'>false</entry>
    <entry key='logger.file'>/opt/traccar/logs/tracker-server.log</entry>
    <entry key='logger.fullStackTraces'>false</entry>
    <entry key='mail.debug'>false</entry>

    <entry key='geocoder.type'>photon</entry>
    <entry key='geocoder.format'>%f</entry>
</properties>
