Postgres is no longer starting
authorJamie Alessio <jamie@urbanfootprint.com>
Sun, 16 Feb 2020 01:10:45 +0000 (01:10 +0000)
committerMichal Migurski <migurski@fb.com>
Thu, 28 Jan 2021 20:03:58 +0000 (12:03 -0800)
commitd5fe598a18eb04b10f4ac29f22a1bccb79185ad4
tree35569da935c43aee6ef89480ce12b375baca131f
parent4b4217b8bece8cc24a2c973d3d7e492bf1b114ea
Postgres is no longer starting

Fails with:
db_1   | Error: Database is uninitialized and superuser password is not specified.
db_1   |        You must specify POSTGRES_PASSWORD for the superuser. Use
db_1   |        "-e POSTGRES_PASSWORD=password" to set it in "docker run".
db_1   |
db_1   |        You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
db_1   |        without a password. This is *not* recommended. See PostgreSQL
db_1   |        documentation about "trust":
db_1   |        https://www.postgresql.org/docs/current/auth-trust.html

Appears to be related to
https://github.com/docker-library/postgres/issues/681
docker-compose.yml