docker-compose.yaml (305B)
1 version: "2.1" 2 services: 3 # https://hub.docker.com/r/itsthenetwork/nfs-server-alpine 4 nfs: 5 image: itsthenetwork/nfs-server-alpine:12 6 container_name: nfs 7 privileged: true 8 environment: 9 - SHARED_DIRECTORY=/data 10 volumes: 11 - /tmp/nfs-storage:/data 12 ports: 13 - 2049:2049