Here is you can find docker compose that will start your Aquality Tracking. Before we start, make sure you have docker installed.
You can configure MySQL DB password, port as well as tomcat port using /.env
file.
After you configure everything just click startup.sh (or startup.bat). The latest version of Aquality Tracking will be started.
If you need to update Aquality Tracking to the latest version just click update.sh (or update.bat).
If you need to stop Aquality Tracking just click update.sh (or update.bat).
- MySQL
The MySQL service will be started first. You can to connect to it using port and password you specified in
/.env
file. - MySQL Backup
The MySQL Backup service will be started after MySQL. It used for backuping your data every day at 11:30 PM. The backup files can be found in the
/db_backup
folder. - Tomcat
The Tomcat will serve the Aquality Tracker application and will be started after The MySQL Backup service. You can connect to it using port you specified in
/.env
file. - Update Service
The Update Service will deploy latest version of the Aquality Tracking application.
- Grab latest version of Aquality Tracking application (from master branch)
- Build application and run DB migration script
- Copy Artifacts to
/apps
folder - Stop the Update service
The update.sh (or update.bat) stopping all services, re-build the Update Container and than up all services again.