added README.md file
This commit is contained in:
parent
ef2eaea261
commit
bac96268d7
|
@ -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.
|
||||
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue