- Build backend application jar
./gradlew build
- Build and tag docker image
docker build -t book-shop .
- Run application along with Postgres using docker compose
docker compose up
- Bring down docker compose containers
docker compose down
- List the volumes
docker volume ls
- Remove the volume
docker volume rm book-shop_pgdata