Created
March 25, 2019 14:02
-
-
Save nilsmeyer/1e239ce001a9f71708ba31362a5bd360 to your computer and use it in GitHub Desktop.
volume configuration example
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
volumes: | |
docker: | |
type: xfs | |
mount: /srv/docker | |
mount_options : defaults | |
mkfs_options: -s size=4096 -b size=4096 -m crc=1,finobt=1,rmapbt=1,reflink=1 -l size=128m -i sparse=1 | |
devices: | |
- 'volume:docker-enc' | |
docker-enc: | |
type: luks2 | |
cipher: aes-xts-plain64 | |
hash: sha512 | |
pbdkf: argon2i | |
bits: 256 | |
passfile: '/root/.luks/docker-enc' | |
kms: 'alias/luks' | |
devices: | |
- 'volume:docker-md' | |
docker-md: | |
type: md | |
level: 0 | |
chunk: 256k | |
devices: | |
- 'ebs:vol-063195f702aef2e38' | |
- 'ebs:vol-0be918e0a0e889de8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment