docker-compose.yml 411 B

1234567891011121314151617181920
  1. version: '2'
  2. volumes:
  3. plain_data:
  4. encfs_password:
  5. services:
  6. encfs:
  7. build: .
  8. image: fphammerle/reverse-encfs
  9. volumes:
  10. - plain_data:/plain/data:ro
  11. - encfs_password:/secret
  12. - /mnt/encrypted:/encrypted:shared
  13. networks: []
  14. devices: [/dev/fuse]
  15. cap_add: [SYS_ADMIN]
  16. security_opt: ['apparmor:unconfined']
  17. # https://docs.docker.com/compose/compose-file/compose-file-v2/