skip to Main Content

Docker with postgresql in flask web application (part 2)

I am building a Flask application in Python. I'm using SQLAlchemy to connect to PostgreSQL. In the flask application, I'm using this to connect SQLAlchemy to PostgreSQL engine = create_engine('postgresql://postgres:[mypassword]@db:5432/employee-manager-db') And this is my docker-compose.yml version: '3.8' services: backend: build:…

VIEW QUESTION
Back To Top
Search