Volumes
Depending on the implementation of the service it MAY NOT have access to any volume.
A container MAY require a service-specific volume that is accessible to that service only.
volumes:
foobar: # custom name
target: /mnt/data
persist: true
Each volume name under volumes may have the following information about it:
| Field | Description |
|---|---|
target | Required. The target directory for this volume |
persist | Whether this volume must be persisted or not. If not specified, it defaults to false |