Closed brunolnetto closed 1 month ago
This repository contains the source for the docker
Docker Official Image, https://hub.docker.com/_/docker, and is not a general resource for running Docker containers.
You can ask for help in the Docker Community Slack. If you are not already a member of the Docker Community Slack, you can use this link to join. You can find more support options at Docker Support, including documentation for Docker Compose.
When you do ask for help, I would recommend including what errors are being reported. Good luck!
I try to connect to a database using python library
psycopg2
. Here is the library I use: https://github.com/brunolnetto/psycopg-operational-error. The steps to reproduce are:pip install -r requirements.txt
;docker compose up -d
python3 main.py
docker-compose.yml
main.py