By default, postgresql creates a database that has the same name as the DB_USERNAME environment variable upon initialization. When these two values are not set to the same, the database will not be created automatically and the coordinator would error on 'database 'xxx' does not exist'.
Adding a POSTGRES_DB environment variable in the docker compose file would slove this problem.
By default, postgresql creates a database that has the same name as the
DB_USERNAMEenvironment variable upon initialization. When these two values are not set to the same, the database will not be created automatically and the coordinator would error on 'database 'xxx' does not exist'.Adding a
POSTGRES_DBenvironment variable in the docker compose file would slove this problem.