6/12/2023 0 Comments Traccar tutorial![]() v /home/traccar/data:/opt/traccar/data:rw \ v /home/traccar/traccar.xml:/opt/traccar/conf/traccar.xml:ro \ v /home/traccar/logs:/opt/traccar/logs:rw \ I created a startup docker file that contains the following, it now exposed 2 portsĦ080 for the admin webpage, that will be mounted to localhost, next is that nginx will use thatħ070 that forwards to the ingestion for the traccar mobile client, I want this to be SSL as well in order to have secure communication docker run \ Within DirectAdmin setting up the Let’s Encrypt certificate Docker environment and configuration Change nginx config to also support SSL on the 5055 traccar port for ingestion.Configure Let’s Encrypt for the SSL certificate.Setup the docker environment and configure it.Create a MySQL database to host the data in.Setup a hosting account within DirectAdmin.Steps completed to host this environment: The end webpage of traccar on my environment Searching the webs, I found what appeared to be the best solution. Can I get cards for the devices on the Dashboard.For a while I was looking for a way to track my car’s whereabouts (nice word!) In order to do so, I started by looking how to have a server environment ready to capture and display this information, as it was clear I didn’t want to create a serverside solution by myself for this.Should I be able to see the devices on the homeassistant map?.Apart from hosting my own traccar server, and getting the tracked devices shown as bars in the HA history, What are the benefits of integrating with HA?.Why bother with MariaDb as it all seemed to work regardless?.It’s all my interpretation of what went on. My experience wasn’t as straight forward as this, that’s why I’m writing this to help others. ![]() I’m guessing it’s using MariaDb but not 100%. Infact even the traccar history seems to still be there. No idea why!Īfter restarting traccar it all contuniued to work ok. I had to use core-mariadb, as used in the recorder: bit above. I tried localhost and the Pi’s actual IP address but these didn’t work. Jdbc:mysql://core-mariadb:3306/traccar?serverTimezone=UTC
0 Comments
Leave a Reply. |