containers
containers copied to clipboard
[bitnami/discourse] Allow specifying database when creating
Name and Version
bitnami/discourse:3.1.2
What is the problem this feature will solve?
DigitalOcean (and probably other providers too) uses doadmin
as the name of the default database but libdiscourse.sh hard-codes postgres
, so there’s no way to make it work without manual intervention.
What is the feature you are proposing to solve the problem?
That postgresql_client_initialize
use a database name specified in an environment variable.
What alternatives have you considered?
Manually creating the postgres
database, which is acceptable for a one-off installation but causes unnecessary complications in a declarative configuration. In fairness, creating the databases is an infrequent requirement, so I understand that this might not be an important feature.
Hi!
Thank you so much for creating the PR! Would you like to submit a PR adding support for an env var for the database admin user?
Thanks for the quick response. I unfortunately don’t think that’s something I can do, as I have my hands full just setting this up in the middle of other work. 😞
Hi @Aankhen ,
We have just created an internal task to work on it. We will keep you updated about any progress.