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

Custom configuration support #31

Open
bartversluijs opened this issue Feb 22, 2022 · 1 comment
Open

Custom configuration support #31

bartversluijs opened this issue Feb 22, 2022 · 1 comment

Comments

@bartversluijs
Copy link
Contributor

Hi,

I can't seem to find a way to change the postgres configuration (like the shared_buffers configuration).
This is because the PGDATA is changed by the balena-entrypoint.sh.

But maybe I'm wrong and there is a built-in way to do it, or a suggested approach?
And, since I'm already asking about the configuration, are there any suggestions / best-practices in order for the database to take full benefit of the server?

Thanks in advance!

@bartversluijs
Copy link
Contributor Author

After some playing around with PostgreSQL, is it an idea to set a default include_dir path, to at least have the ability to extend the current postgres configuration?

A suggestion for this path could be /balena/postgresql/conf.d. A user can create a volume for that path and create custom configurations, which will (probably) work throughout Postgres updates!

Let me know what you think!
I don't have the know-how to create a PR for this, but it'd be a nice added feature :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant