feat: add GPS tracking with Traccar integration
- Add GPS module with Traccar client service for device management - Add driver enrollment flow with QR code generation - Add real-time location tracking on driver profiles - Add GPS settings configuration in admin tools - Add Auth0 OpenID Connect setup script for Traccar - Add deployment configs for production server - Update nginx configs for SSL on GPS port 5055 - Add timezone setting support - Various UI improvements and bug fixes Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
26
deployment/traccar-production.xml
Normal file
26
deployment/traccar-production.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties>
|
||||
<!-- Database - H2 embedded database -->
|
||||
<entry key="database.driver">org.h2.Driver</entry>
|
||||
<entry key="database.url">jdbc:h2:./data/database</entry>
|
||||
<entry key="database.user">sa</entry>
|
||||
<entry key="database.password"></entry>
|
||||
|
||||
<!-- Auth0 OpenID Connect Authentication -->
|
||||
<entry key="openid.clientId">JXEVOIfS5eYCkeKbbCWIkBYIvjqdSP5d</entry>
|
||||
<entry key="openid.clientSecret">uV25EDh7YwZsvuLYp_bkaSUbpXVJ4uz8dkYZxd9FvvhcCNhGfwjSeen1TMG9c55V</entry>
|
||||
<entry key="openid.issuerUrl">https://dev-s855cy3bvjjbkljt.us.auth0.com</entry>
|
||||
<entry key="openid.force">true</entry>
|
||||
<entry key="web.url">https://traccar.vip.madeamess.online</entry>
|
||||
|
||||
<!-- Auth0 Role-based Access Control -->
|
||||
<!-- Users must have ADMINISTRATOR or COORDINATOR Auth0 role to access Traccar -->
|
||||
<!-- Only ADMINISTRATOR role users get admin rights in Traccar -->
|
||||
<entry key="openid.group">https://traccar.vip.madeamess.online/groups</entry>
|
||||
<entry key="openid.adminGroup">ADMINISTRATOR</entry>
|
||||
<entry key="openid.allowGroup">ADMINISTRATOR,COORDINATOR</entry>
|
||||
|
||||
<!-- Logging - set to 'all' for debugging, 'info' for production -->
|
||||
<entry key="logger.level">info</entry>
|
||||
</properties>
|
||||
Reference in New Issue
Block a user