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:
pedep 2017-02-09 00:49:14 +01:00 committed by John Mulhausen
parent b72d08927e
commit be447bf1b5
1 changed files with 4 additions and 0 deletions

View File

@ -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