From 44571c988669c052e3262fd9ce050d4b54f3c148 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 18 Jun 2018 12:09:33 +0100 Subject: [PATCH] Fix formatting of logging options in compose file (closes #55) Before this modification, `docker-compose` fails to create the containers, with an error like: ``` ERROR: for example_stream-enrich_1 Cannot create container for service stream-enrich: json: cannot unmarshal number into Go value of type string ``` See https://github.com/docker/compose/issues/4153 --- example/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/docker-compose.yml b/example/docker-compose.yml index fe61e4d..d6be6b9 100644 --- a/example/docker-compose.yml +++ b/example/docker-compose.yml @@ -37,7 +37,7 @@ services: logging: options: max-size: 1M - max-file: 10 + max-file: "10" deploy: resources: limits: @@ -65,7 +65,7 @@ services: logging: options: max-size: 1M - max-file: 10 + max-file: "10" deploy: resources: limits: