How to set timeout value of container stop

QQ20190808-150732

The default timeout value is 10s , but my application need more than 10s to stop gracefully.
I can’t see any place to config the timeout value.

If you started the container with compose you can set the stop_grace_period