mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +02:00
Add stop signal to the docs.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
c47aea9c12
commit
3b1a0e6fc9
@ -473,6 +473,14 @@ Override the default labeling scheme for each container.
|
||||
- label:user:USER
|
||||
- label:role:ROLE
|
||||
|
||||
### stop_signal
|
||||
|
||||
Sets an alternative signal to stop the container. By default `stop` uses
|
||||
SIGTERM. Setting an alternative signal using `stop_signal` will cause
|
||||
`stop` to send that signal instead.
|
||||
|
||||
stop_signal: SIGUSR1
|
||||
|
||||
### ulimits
|
||||
|
||||
Override the default ulimits for a container. You can either specify a single
|
||||
|
@ -45,8 +45,7 @@ A `docker-compose.yml` looks like this:
|
||||
redis:
|
||||
image: redis
|
||||
volumes:
|
||||
logvolume01:
|
||||
driver: default
|
||||
logvolume01: {}
|
||||
|
||||
For more information about the Compose file, see the
|
||||
[Compose file reference](compose-file.md)
|
||||
|
Loading…
x
Reference in New Issue
Block a user