mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
21 lines
529 B
YAML
21 lines
529 B
YAML
nfs:
|
|
image: erichough/nfs-server
|
|
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:
|
|
- ./conf:/export/presto:ro
|
|
- /lib/modules:/lib/modules:ro
|
|
environment:
|
|
- NFS_LOG_LEVEL=DEBUG
|
|
- NFS_EXPORT_0=/export/prestodb/coordinator *(ro,no_subtree_check)
|
|
- NFS_EXPORT_1=/export/prestodb/worker1 *(ro,no_subtree_check)
|
|
privileged: true
|
|
restart: unless-stopped
|