docker-compose.yaml 281 B

12345678910111213
  1. services:
  2. nfs:
  3. image: erichough/nfs-server
  4. privileged: true
  5. ports:
  6. - "2049:2049"
  7. environment:
  8. NFS_EXPORT_0: '/nfs *(rw,no_root_squash,all_squash,sync,insecure,no_wdelay,no_subtree_check,fsid=0)'
  9. volumes:
  10. - nfs_data:/nfs
  11. volumes:
  12. nfs_data: