sendmail support
This commit is contained in:
@@ -6,10 +6,13 @@
|
|||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Modern GPS Tracking Platform",
|
"tagline": "Modern GPS Tracking Platform",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
|
"upstreamVersion": "5.0",
|
||||||
|
"minBoxVersion": "7.1.0",
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8082,
|
"httpPort": 8082,
|
||||||
"addons": {
|
"addons": {
|
||||||
"ldap": {},
|
"ldap": {},
|
||||||
|
"sendmail": {},
|
||||||
"localstorage": {},
|
"localstorage": {},
|
||||||
"postgresql": {}
|
"postgresql": {}
|
||||||
},
|
},
|
||||||
|
10
start.sh
10
start.sh
@@ -30,6 +30,16 @@ xmlstarlet ed --inplace \
|
|||||||
--update '//properties/entry[@key="ldap.password"]' -v "${CLOUDRON_LDAP_BIND_PASSWORD}" \
|
--update '//properties/entry[@key="ldap.password"]' -v "${CLOUDRON_LDAP_BIND_PASSWORD}" \
|
||||||
/app/data/traccar.xml
|
/app/data/traccar.xml
|
||||||
|
|
||||||
|
xmlstarlet ed --inplace \
|
||||||
|
--update '//properties/entry[@key="mail.smtp.host"]' -v "${CLOUDRON_MAIL_SMTP_SERVER}" \
|
||||||
|
--update '//properties/entry[@key="mail.smtp.port"]' -v "${CLOUDRON_MAIL_SMTP_PORT}" \
|
||||||
|
--update '//properties/entry[@key="mail.smtp.starttls.enable"]' -v "false" \
|
||||||
|
--update '//properties/entry[@key="mail.smtp.from"]' -v "${CLOUDRON_MAIL_FROM_DISPLAY_NAME:-Traccar} <${CLOUDRON_MAIL_FROM_DISPLAY_NAME}>" \
|
||||||
|
--update '//properties/entry[@key="mail.smtp.auth"]' -v "true" \
|
||||||
|
--update '//properties/entry[@key="mail.smtp.username"]' -v "${CLOUDRON_MAIL_SMTP_USERNAME}" \
|
||||||
|
--update '//properties/entry[@key="mail.smtp.password"]' -v "${CLOUDRON_MAIL_SMTP_PASSWORD}" \
|
||||||
|
/app/data/traccar.xml
|
||||||
|
|
||||||
chown -R cloudron /run/traccar /app/data
|
chown -R cloudron /run/traccar /app/data
|
||||||
|
|
||||||
echo "=> Start traccar-server"
|
echo "=> Start traccar-server"
|
||||||
|
@@ -31,6 +31,14 @@
|
|||||||
<entry key='ldap.user'>##CLOUDRON_LDAP_BIND_DN##</entry>
|
<entry key='ldap.user'>##CLOUDRON_LDAP_BIND_DN##</entry>
|
||||||
<entry key='ldap.password'>##CLOUDRON_LDAP_BIND_PASSWORD##</entry>
|
<entry key='ldap.password'>##CLOUDRON_LDAP_BIND_PASSWORD##</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>
|
||||||
|
|
||||||
<!-- https://github.com/traccar/traccar/blob/8eecfdcf5c59f92158a6c339d1622e0e9d67968c/src/main/java/org/traccar/config/Keys.java -->
|
<!-- https://github.com/traccar/traccar/blob/8eecfdcf5c59f92158a6c339d1622e0e9d67968c/src/main/java/org/traccar/config/Keys.java -->
|
||||||
<entry key='users.defaultDeviceLimit'>-1</entry>
|
<entry key='users.defaultDeviceLimit'>-1</entry>
|
||||||
<entry key='media.path'>/app/data/media</entry>
|
<entry key='media.path'>/app/data/media</entry>
|
||||||
|
Reference in New Issue
Block a user