I've seen this in the source code of Gitlab
Managed to run bundle install successfully. But while running the server with
Since database.yml should not be committed to the source code for various reasons (their
.gitignore explicitly removes database.yml from the repo), maintainers tend to put
.yml.template as a guide for those would fork the repo. It's not meant to be renamed but rather copied as renaming it would be removing the template.
The multiple extensions (i.e
.postgres) are just there for you to know what to copy when you use different databases.