waitForLog
strategy to wait until the container is ready. Then it connects to the database and runs a simple query.
Make sure you install testcontainers
and pg
npm packages:
export DEBUG=testcontainers*
before running the tests.testcontainers
and psycopg2
python packages:
DOCKER_HOST
environment variable: