- A postgres container is run with more or less default parameters
- Another postgres container is linked to the first container, only to use pg_isready commandline to wait until the DB is ready to take connections
- Use flyway container to run DB migrations against the DB setup in step 1. Eventually planned to run E2E tests also with web applications
Stackoverflow question here