Run with ./gradlew war
in terminal
Note: make sure ./build/libs/shopping_cart_demo.war exist.
Run with cd ./docker
in terminal
$ docker-compose up -d
: create and start the containers in background$ docker-compose down -v
: stop and remove the containers with all its volumes
After docker compose start, application can be accessed in http://localhost/shoppingCart
Demo code: MIT