Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Fix formatting of logging options in compose file (closes #55)
Browse files Browse the repository at this point in the history
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 docker/compose#4153
  • Loading branch information
jackric authored and BenFradet committed Jun 18, 2018
1 parent 0709298 commit 0832e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
logging:
options:
max-size: 1M
max-file: 10
max-file: "10"
deploy:
resources:
limits:
Expand Down Expand Up @@ -65,7 +65,7 @@ services:
logging:
options:
max-size: 1M
max-file: 10
max-file: "10"
deploy:
resources:
limits:
Expand Down

0 comments on commit 0832e48

Please sign in to comment.