Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
volume configuration example
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
You can’t perform that action at this time.