-
Notifications
You must be signed in to change notification settings - Fork 0
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
Connection to postgres fails from vscode dev container #155
Comments
Mhh, I didn't encounter this as I don't use VSCode. @bCyberBasti? |
ah, that means that you are running the |
had that, been there 😄 my problem was that i didn't have the right steps to fix:
|
Yeah, I use the Python installation on my host machine with the mj-specific dependencies in a virtual environment |
thx for the hint, @bCyberBasti i'll next try @jdemaeyer's approach |
@ThorbenJensen is this resolved? |
@ThorbenJensen and @bCyberBasti will meet and close this after this is resolved |
When setting up the backend dev environment (hopefully) as documented,
python -m mj migrate
fails with:This error can be reproduced (on my machine) when running from Python inside the vscode container setup:
However, establishing a connection to the database from outside the dev environment (i.e. a usual terminal) works.
Any ideas how I could make sure that the postgres service/container is accessible from within my backend dev container?
@jdemaeyer, did you have to solve this issue?
The text was updated successfully, but these errors were encountered: