added README.md file

This commit is contained in:
Radar231 2021-07-25 16:09:30 -04:00
parent ef2eaea261
commit bac96268d7
2 changed files with 9 additions and 2 deletions

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# nfs-server docker deployment
## Introduction
This is a docker-compose configuration to run an nfs-server on a Raspberry PI4,
serving files from an attached external USB HDD.

View File

@ -3,13 +3,13 @@ version: "2.1"
services:
# https://hub.docker.com/r/itsthenetwork/nfs-server-alpine
nfs:
image: itsthenetwork/nfs-server-alpine:12
image: itsthenetwork/nfs-server-alpine:latest-arm
container_name: nfs
restart: unless-stopped
privileged: true
environment:
- SHARED_DIRECTORY=/data
volumes:
- /mnt/zshare/k8s/volumes/:/data
- /storage/k8s/volumes/:/data
ports:
- 2049:2049