- Create and run docker postgres image
- run
docker-compose -f ./utils/postgres.yml up -d
from project root directory
- Setup profile
- Set Active Profiles Property to
local
in IDEA Run Configuration - Or use
-Dspring.active.profiles=local
jvm option
- Create and run docker postgres image
- run
docker-compose -f ./utils/postgres.yml up -d
from project root directory - TDB: use testcontainers for embedded postgres
- Execute tests
- Use
-Dspring.active.profiles=production
jvm option