1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/nfs/arm/docker-compose.yml
2019-12-16 09:10:27 +08:00

20 lines
441 B
YAML

nfs:
image: easypi/nfs-server-arm
ports:
- "111:111/tcp"
- "111:111/udp"
- "2049:2049/tcp"
- "2049:2049/udp"
- "32765:32765/tcp"
- "32765:32765/udp"
- "32767:32767/tcp"
- "32767:32767/udp"
volumes:
- ./data:/export/data:ro
- /lib/modules:/lib/modules:ro
environment:
- NFS_LOG_LEVEL=DEBUG
- NFS_EXPORT_0=/export/data *(ro,no_subtree_check)
privileged: true
restart: unless-stopped