I’m developing a python project using a docker container that holds the image that contains the required dependencies and more. But I’m having trouble in how to connect the postgre database that stores certain information from the project.
I’ve heard pulling Postgres into the docker container and having yml file that’s connects locally to the database. Any recommended ways to do this. While also having insert queries so that the data is being stored into the database?
1