Closed
Description
🚀 Feature Request
gracefulShutdown should have an option for a command instead of a signal.
webserver {
command: 'docker-compose -f ../compose.yml up',
gracefulShutdown: {
command: 'docker-compose -f ../compose.yml down'
}
or detached:
webserver {
command: 'docker-compose -f ../compose.yml up -d',
gracefulShutdown: {
command: 'docker-compose -f ../compose.yml down'
}
Example
No response
Motivation
Docker has its own way to stop the containers. If you reuse it, it is more predictable what happens. I had the situation were two containers where stopped and the third one not because playwright ran against the timeout.
And you can let docker-compose detach with docker-compose up -d
. then I guess there is no process to send any signal.
Metadata
Metadata
Assignees
Labels
No labels