feat:added documentation
This commit is contained in:
25
Documentation/nfs.md
Normal file
25
Documentation/nfs.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# nfs
|
||||
|
||||
## nfs with enviroment variables
|
||||
|
||||
### Docker compose
|
||||
|
||||
```
|
||||
volumes:
|
||||
etcPihole:
|
||||
name: pihole_etc
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: ${VOLUME_PIHOLE_TYPE}
|
||||
o: ${VOLUME_PIHOLE_O}
|
||||
device: "${VOLUME_PIHOLE_DEVICE}"
|
||||
```
|
||||
|
||||
### .env
|
||||
|
||||
```
|
||||
#VOLUME_PIHOLE_O="addr=10.10.1.1,rw"
|
||||
#VOLUME_PIHOLE_DEVICE=":/export/docker-volumes/pihole/pihole-etc"
|
||||
#VOLUME_PIHOLE_TYPE="nfs"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user