Add nfs
This commit is contained in:
parent
68906c249a
commit
3f6b076416
23
nfs/docker-compose.yml
Normal file
23
nfs/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: 3
|
||||
services:
|
||||
nfs:
|
||||
image: erichough/nfs-server
|
||||
container_name: nfs-server
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /home/isaac/Media:/nfs
|
||||
- /lib/modules:/lib/modules:ro
|
||||
environment:
|
||||
- NFS_EXPORT_0='/nfs * (rw,no_subtree_check)'
|
||||
cap_add:
|
||||
- SYS_ADMIN
|
||||
- SYS_MODULE
|
||||
ports:
|
||||
- 2049:2049
|
||||
- 2049:2049/udp
|
||||
- 111:111
|
||||
- 111:111/udp
|
||||
- 32765:32765
|
||||
- 32765:32765/udp
|
||||
- 32767:32767
|
||||
- 32767:32767/udp
|
Loading…
x
Reference in New Issue
Block a user