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

Function database_exists stalls when inside a docker container #743

Open
brunolnetto opened this issue Jun 9, 2024 · 0 comments
Open

Function database_exists stalls when inside a docker container #743

brunolnetto opened this issue Jun 9, 2024 · 0 comments

Comments

@brunolnetto
Copy link

brunolnetto commented Jun 9, 2024

I use your library to build an object for database instance on my cron-db repository. I first pass the uri with host user, password, host and port already build as it must be. It works fine when using along either local service and a dockerized database OR a local service and a local database. When I run both cron-task and database together inside a docker container, the functions database_exists stalls, and does not return a boolean value. Do you have any idea what may it be? The instructions are in the README. Feel free to ask other usage questions.

https://github.com/brunolnetto/db-cron-docker/blob/main/backend/app/database/core.py

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