JHipster creates a Dockerfile for the application and provides docker-compose files for all the technologies we choose, such as the database, search engine, Jenkins, and so on, under src/main/docker:
├── app.yml - Main compose file for the application
├── hazelcast-management-center.yml - Compose file hazelcast management center
├── jenkins.yml - Compose file for Jenkins
├── monitoring.yml - Compose file for monitoring with Prometheus and Grafana
├── mysql.yml - Compose file for the database that we choose
└── sonar.yml - Compose file for SonarQube
Let's look at how we can start our production database using Docker from the compose file provided under src/main/docker/mysql.yml. You will need to use a Terminal...