Skip to content

Commit

Permalink
Merge pull request compose-spec#153 from aiordache/missing_service_st…
Browse files Browse the repository at this point in the history
…orage_opts

Add missing `service.storage_opts`
  • Loading branch information
chris-crone committed Mar 22, 2021
2 parents f9a5c72 + 0444176 commit 7f63ac2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions schema/compose-spec.json
Expand Up @@ -366,6 +366,7 @@
"stdin_open": {"type": "boolean"},
"stop_grace_period": {"type": "string", "format": "duration"},
"stop_signal": {"type": "string"},
"storage_opt": {"type": "object"},
"tmpfs": {"$ref": "#/definitions/string_or_list"},
"tty": {"type": "boolean"},
"ulimits": {
Expand Down
9 changes: 9 additions & 0 deletions spec.md
Expand Up @@ -1689,6 +1689,15 @@ If unset containers are stopped by the Compose Implementation by sending `SIGTER
stop_signal: SIGUSR1
```

### storage_opts

`storage_opts` defines storage driver options for a service.

```yml
storage_opt:
size: '1G'
```

### sysctls

`sysctls` defines kernel parameters to set in the container. `sysctls` can use either an array or a map.
Expand Down

0 comments on commit 7f63ac2

Please sign in to comment.