Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/discourse] Allow specifying database when creating #52036

Open
Aankhen opened this issue Oct 22, 2023 · 3 comments
Open

[bitnami/discourse] Allow specifying database when creating #52036

Aankhen opened this issue Oct 22, 2023 · 3 comments
Assignees
Labels
discourse feature-request on-hold Issues or Pull Requests with this label will never be considered stale

Comments

@Aankhen
Copy link

Aankhen commented Oct 22, 2023

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.

@javsalgar
Copy link
Contributor

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?

@Aankhen
Copy link
Author

Aankhen commented Oct 25, 2023

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. 😞

@github-actions github-actions bot added in-progress and removed triage Triage is needed labels Oct 25, 2023
@bitnami-bot bitnami-bot assigned dgomezleon and unassigned javsalgar Oct 25, 2023
@dgomezleon
Copy link
Member

Hi @Aankhen ,

We have just created an internal task to work on it. We will keep you updated about any progress.

@dgomezleon dgomezleon added on-hold Issues or Pull Requests with this label will never be considered stale and removed in-progress labels Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discourse feature-request on-hold Issues or Pull Requests with this label will never be considered stale
Projects
None yet
Development

No branches or pull requests

3 participants