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

enhancement: Easier configuration of the postgres command #9629

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KyleAure
Copy link
Contributor

@KyleAure KyleAure commented Dec 12, 2024

Currently, the PostgreSQLContainer configures fync=off during initialization of the container class.
This setting can be accidentally overwritten by using the withCommand() or setCommand() methods.
It would be more extensible to keep a list of configuration options for the postgres command, and instead configure a command during the configure lifecycle step.

Opening this PR because this is how I use the PostgreSQL container and thought maybe others might find this useful.
If there is no interest feel free to close this PR.

@KyleAure KyleAure requested a review from a team as a code owner December 12, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant