mirror of https://github.com/docker/docs.git
Fix markdown rendering of example configuration (#1544)
* fix code block formatting after list add comment between code block and list to fix markdown rendering * Update compose-file.md * Update compose-file.md
This commit is contained in:
parent
b72d08927e
commit
be447bf1b5
|
@ -256,9 +256,11 @@ updates.
|
|||
- `monitor`: Duration after each task update to monitor for failure `(ns|us|ms|s|m|h)` (default 0s).
|
||||
- `max_failure_ratio`: Failure rate to tolerate during an update.
|
||||
|
||||
```
|
||||
update_config:
|
||||
parallelism: 2
|
||||
delay: 10s
|
||||
```
|
||||
|
||||
#### resources
|
||||
|
||||
|
@ -288,11 +290,13 @@ Configures if and how to restart containers when they exit. Replaces
|
|||
specified as a [duration](compose-file.md#specifying-durations) (default:
|
||||
decide immediately).
|
||||
|
||||
```
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
```
|
||||
|
||||
#### labels
|
||||
|
||||
|
|
Loading…
Reference in New Issue