This commit is contained in:
Isaac Shoebottom 2025-01-07 18:55:21 -04:00
parent 68906c249a
commit 3f6b076416

23
nfs/docker-compose.yml Normal file
View 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