1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
dockerfiles/prestodb/docker-compose.yml
2019-10-21 11:36:26 +08:00

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