Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pg-test in Docker-in-Docker #89

Open
alfonso-presa opened this issue Jul 23, 2020 · 0 comments
Open

pg-test in Docker-in-Docker #89

alfonso-presa opened this issue Jul 23, 2020 · 0 comments

Comments

@alfonso-presa
Copy link

alfonso-presa commented Jul 23, 2020

Hi,

first, thank you for this useful library. Though I think I would not be able to use it because our CI environment executes jobs inside docker. When the jest tests are starting, the process gets locked waiting for the DB to start (in my local environment it works perfectly), I've increased the timeout for the wait DB up to 200 seconds without any success. I've the feeling that as this is running in a docker-in-docker context, the port binding would not be performed against my container itself but to the docker host. Is this correct? It there any workaround?

I was thinking that an option to point directly to the container IP, instead of mapping the port would be very useful for this use case.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant