I am trying to setup a postgres container and want to setup the postgres login with:
POSTGRES_USER: docker POSTGRES_PASSWORD: docker
So I have
I had the same problem, and in my case problem was fixed with a single command:
docker-compose up --force-recreate