Can’t Specify Custom Name For Docker Postgres
I am attempting to dockerize my flask + postgres app, but I am running into this problem (none of the answers in that question helped me). Basically I want the docker-compose file to create a database with a different name than postgres. I would like to keep all of my docker setup contained in the dockerfile, docker-compose, and .env file. Is there anyone who can help?
Unable to connect to postgres instance when flask app Dockerfile in different directory
I have a project structure like this