To run database place in the root of api (vehicles/api-java) and run
docker-compose -f docker-db.yml up
To run the application place in the root of api (vehicles/api-java) and run the commands in sequence:
mvn clean install
This will build and install by maven the application
docker build -t application/vehicles .
This will create an image called application/vehicles
docker-compose -f docker-app.yml up
This step will turn it up the image we just created
If anyone has any questions or adjustments can contact me on:
-
Developer: Evandro Gaspar Ribeiro
-
E-mail: evandrogrm@hotmail.com
Best regards