-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce volume configuration for floki
This introduces configuration parsing for volumes in floki. Currently the configuration isn't interpreted, so no volumes are actually added to the running floki container. However this provides the intended configuration semantics. Volumes can be configured in `floki.yaml` under the `volumes` key: ``` volumes: cargo-registry: shared: true mount: /home/rust/.cargo/registry something-else: mount: /something ``` Intended interpretation ----------------------- The `shared` key indicates that this volume should be shared across all containers using the same key (with `shared` also set). Setting `shared` may be elided, in which case it defaults to false, and the volume will only be used by containers using the same `floki.yaml` configuration files. Signed-off-by: Richard Lupton <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters