You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
441 B
YAML

version: '3'
services:
nfs:
container_name: nfs
restart: always
#build: build/.
#command: "tail -f /dev/null"
#network_mode: "host"
image: itsthenetwork/nfs-server-alpine:latest
#user: 1000:1000
ports:
- 2049:2049
environment:
- SHARED_DIRECTORY=/nfsshare
cap_add:
- SYS_ADMIN
volumes:
- ".config/exports:/etc/exports"
- /mnt/data:/nfsshare
privileged: true