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:
|
services:
|
||||||
# https://hub.docker.com/r/itsthenetwork/nfs-server-alpine
|
# https://hub.docker.com/r/itsthenetwork/nfs-server-alpine
|
||||||
nfs:
|
nfs:
|
||||||
image: itsthenetwork/nfs-server-alpine:12
|
image: itsthenetwork/nfs-server-alpine:latest-arm
|
||||||
container_name: nfs
|
container_name: nfs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
- SHARED_DIRECTORY=/data
|
- SHARED_DIRECTORY=/data
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/zshare/k8s/volumes/:/data
|
- /storage/k8s/volumes/:/data
|
||||||
ports:
|
ports:
|
||||||
- 2049:2049
|
- 2049:2049
|
||||||
|
|
Loading…
Reference in New Issue