Skip to content

Database not found when DB username differs from DB name #222

@un-lock-able

Description

@un-lock-able

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions