Description
When using providers, the only lifecycle hooks currently available are up and down. It would be nice to also support stop.
Use case:
-
Start a Compose stack using watch:
docker compose up --watch
The external provider is used to start the expected service.
-
Stop the stack using Ctrl+C. All containers stop, but the external service has no hook to stop as well, leaving it up and running.
Description
When using providers, the only lifecycle hooks currently available are
upanddown. It would be nice to also supportstop.Use case:
Start a Compose stack using watch:
The external provider is used to start the expected service.
Stop the stack using Ctrl+C. All containers stop, but the external service has no hook to stop as well, leaving it up and running.