-
-
Notifications
You must be signed in to change notification settings - Fork 256
Description
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
I use dockertest for running integration tests with the database. I'm currently using postgres with wallogs enabled (need to set postgres config as wal_level = logical etc.) as well as with postgres extensions installed. However, I am having trouble replicating this setup with dockertest as making changes to the config or adding new extension requires a db restart, which it seems like the postgres docker container does not support restarting the postgres service through commands and it only works if i restart the docker container itself. And I was not able to locate documentation for how to restart the docker container through dockertest.
Please help.
Describe your ideal solution
A method that allows me to restart the docker container programmatically.
Workarounds or alternatives
I've considered building a custom image which would possibly have all the configs updated and extensions installed before the container is even started up, but it seems that using a custom image would require me to host the image somewhere instead of being able to pull the image from the local dockerfile.
Version
v3
Additional Context
No response