From be447bf1b51ad907d2d5df5d8020cc24d7fc1c63 Mon Sep 17 00:00:00 2001 From: pedep Date: Thu, 9 Feb 2017 00:49:14 +0100 Subject: [PATCH] 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 --- compose/compose-file.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compose/compose-file.md b/compose/compose-file.md index 145034c9bc..a914132d77 100644 --- a/compose/compose-file.md +++ b/compose/compose-file.md @@ -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