Compose file | Docker Documentation
docs.docker.com › compose › compose-fileDocker Compose 1.27.0+ implements the format defined by the Compose Specification. Previous Docker Compose versions have support for several Compose file formats – 2, 2.x, and 3.x. The Compose specification is a unified 2.x and 3.x file format, aggregating properties across these formats. Compose and Docker compatibility matrix. There are ...
docker-compose postgres fatal role and db does not exist ...
dockerquestions.com › 2021/10/07 › docker-composeOct 07, 2021 · docker-compose postgres fatal role and db does not exist error. 7th October 2021 docker, docker-compose, postgresql. When I run my docker-compose file, it builds two images, an api and a postgres image. The postgres image is getting a couple of different errors depending on what I do. If my POSTGRES_USER is set as myUser, I get FATAL: role "root" does not exist, and if I change the value of that var to root, I get FATAL: database "root" does not exist.