docker-compose.yml 621 B

1234567891011121314151617181920212223
  1. version: '2'
  2. volumes:
  3. plain_data:
  4. services:
  5. rgpgfs:
  6. build: .
  7. image: fphammerle/rgpgfs
  8. environment:
  9. RECIPIENT: 1234567890ABCDEF1234567890ABCDEF12345678
  10. volumes:
  11. - plain_data:/plain:ro
  12. # TODO replace host path with named volume
  13. - /mnt/rgpgfs:/encrypted:shared
  14. devices: [/dev/fuse]
  15. cap_add: [SYS_ADMIN]
  16. security_opt: ['apparmor:unconfined']
  17. # TODO investigate why some output gets lost when not allocating a tty
  18. tty: true
  19. # https://docs.docker.com/compose/compose-file/compose-file-v2/
  20. # https://docs.ansible.com/ansible/latest/modules/docker_service_module.html