-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtraccar.xml
71 lines (55 loc) · 2.93 KB
/
traccar.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?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/ -->
<entry key='database.driver'>org.postgresql.Driver</entry>
<entry key='database.url'>jdbc:postgresql://${DATABASE_HOST}/traccar?sslmode=require</entry>
<entry key='database.user'>${DATABASE_USER}</entry>
<entry key='database.password'>${DATABASE_PASSWORD}</entry>
<entry key='database.changelog'></entry>
<entry key='database.saveOriginal'>true</entry>
<entry key='mail.smtp.host'>email-smtp.us-east-1.amazonaws.com</entry>
<entry key='mail.smtp.username'>${SMTP_USER_NAME}</entry>
<entry key='mail.smtp.password'>${SMTP_PASSWORD}</entry>
<entry key='mail.smtp.from'>${MAIL_SMTP_FROM}</entry>
<entry key='mail.smtp.port'>2587</entry>
<entry key='web.port'>80</entry>
<entry key="web.url">https://dash.frotaweb.com</entry>
<entry key='notificator.types'>web,mail,sms,firebase,command</entry>
<entry key='notificator.firebase.serviceAccount'>${NOTIFICATOR_FIREBASE_SERVICE_ACCOUNT}</entry>
<entry key='sms.http.url'>https://sendsms-tvq2s7swmq-uc.a.run.app</entry>
<entry key='sms.http.authorization'>${SMS_HTTP_AUTHORIZATION}</entry>
<entry key='sms.http.template'>
{
"phone": "{phone}",
"message": "{message}"
}
</entry>
<entry key='geocoder.type'>mapbox</entry>
<entry key='geocoder.key'>${GEOCODER_KEY}</entry>
<entry key='geocoder.format'>%f</entry>
<entry key='filter.zero'>true</entry>
<entry key='filter.future'>300</entry>
<entry key='web.persistSession'>true</entry>
<entry key="geolocation.enable">true</entry>
<entry key="geolocation.type">unwired</entry>
<entry key="geolocation.processInvalidPositions">true</entry>
<entry key="geolocation.key">${GEOLOCATION_KEY}</entry>
<entry key="geolocation.type">google</entry>
<entry key="geolocation.url">https://us1.unwiredlabs.com/v2/process</entry>
<entry key="geolocation.reuse">true</entry>
<entry key="geolocation.requireWifi">true</entry>
<entry key="report.fastThreshold">864000</entry>
<entry key="report.trip.useIgnition">true</entry>
<entry key="forward.url">http://localhost:3000</entry>
<entry key="forward.type">json</entry>
<entry key="event.forward.url">http://localhost:3000</entry>
<entry key="event.forward.type">json</entry>
<entry key="processing.copyAttributes.enable">true</entry>
<entry key="processing.copyAttributes">blocked</entry>
<entry key="openid.clientId">91ttVQPxLQ3VrjZiH4XS9tBwJVI8wusb</entry>
<entry key="openid.clientSecret">${OPEN_ID_CLIENT_SECRET}</entry>
<entry key="openid.authUrl">https://${AUTH_DOMAIN}/authorize</entry>
<entry key="openid.tokenUrl">https://${AUTH_DOMAIN}/oauth/token</entry>
<entry key="openid.userInfoUrl">https://${AUTH_DOMAIN}/userInfo</entry>
</properties>