To run all the services together, clone all the repositories to your machine, define the same compose project name for all of them at the. flask-text-reader: Make your Traccar log file reachable from the browser.rclone-autobackup: Sync your database backups to the cloud.mysql-autobackup: Perform periodic backup of your traccar MySQL database.Customize your volumes in the docker-compose.yml file according to the customization you want to haveĭocker-compose up -d or docker-compose up -d -build -force-recreate to force recreation of image and containerĬheck if everything is working via the commands:Ĭheck the logs of each container via the command:ĭocker-compose logs container_name Other useful repositories.Transfer the last backup to the database:ĭocker exec -i db sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD" "$MYSQL_DATABASE"' Check if everything is working via the commands:.In the machine and the respective folder where the backup is located, transfer the backup file to the VPS:.Restore the database IF YOU HAVE A DATABASE BACKUP, ENSURE YOU DO THIS BEFORE STARTING TRACCAR-SERVER For configuration examples, including Let's Encrypt support please check.The standard login\username for the Web UI is admin\admin A sample configuration file is provided on traefik/traefik_sample.toml.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |