![]() ![]() Without this there would be an error connecting to the webpage, resulting in an empty tracking map. In order to forward all the https traphic to the exposed port 6080, I created the following nginx configuration.Īs the traccar webclient used websockets, some additional websocket support had to be addited. The configuration of the traccar file was changed to support connecting to a MySQL database outside a docker environment traccar.xml configuration file After starting, this is the running configuration Nginx configuration In order to get the traccar.xml file, I followed the guide on traccar/traccar-docker: Traccar Docker () 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |