The web app should be a part of the package, so it's already included in the Traccar docker image.
where is the path traccar-web/modern found in the container?
volumes: # Defines volume mounts for the container
- My local directory/traccar-web/modern/: traccar modern file? # Mounts the modern folder from the host to the container
Both volumes work well
volumes: # Defines volume mounts for the container
- My local directory/traccar/logs:/opt/traccar/logs:rw # Mounts the logs directory from the host to the container with read and write permissions
- My local directory/traccar/conf/traccar.xml:/opt/traccar/conf/traccar.xml:ro # Mounts the traccar.xml config file from the host to the container with read-only permissions
@Anton Tananaev
What is the direct path of the modern folder in the container please?
It should be /opt/traccar/modern
for the modern app.
Thank you, it is work fine
hello,
my server works well on a docker-compose containing a postgre container in my VPS, however I want to design my site using traccar-web. how to connect my traccar container with the traccar-web folder? should I use a docker volume?