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

Configuring Postgres from Docker container #207

Open
lithdew opened this issue Aug 15, 2023 · 0 comments
Open

Configuring Postgres from Docker container #207

lithdew opened this issue Aug 15, 2023 · 0 comments

Comments

@lithdew
Copy link

lithdew commented Aug 15, 2023

I noticed that for the TimescaleDB Docker image, the TIMESCALEDB_ENABLED environment variable is explicitly set to append 'timescaledb' to "shared_preload_libraries" in the Postgres config.

I'd like to install other Postgres extensions in my own custom Docker image such as pg_stat_monitor or pg_safeupdate which requires overwriting Postgres' config with shared_preload_libraries.

fly pg config exists, though I would prefer not to have to manually re-configure my Postgres cluster every time I re-deploy a new one.

Are there any ways to make Postgres configuration changes right from the Docker image and ensure that it persists throughout a deployed Fly.io Postgres cluster?

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