Closed
Description
I'm using this library to setup containers for integration tests for postgres. It works very well.
However it is slow to start and stop, as to be expected. So what I'm trying to achieve:
- On my dev machine, I have another instance of postgres running (almost) all the time. If it is running then I'd like the library to use it.
- On the test server, no containers would be running, so I'd like the library to start/stop throwaway containers as usual.
Is this possible somehow?
(I could add boilerplate code to detect if the container is running, etc,, but I'm hoping this library has functionality to do that?)