feat:added documentation

This commit is contained in:
2022-09-23 22:36:23 +01:00
parent 47892618b7
commit 88113f7ba6
2 changed files with 26 additions and 0 deletions

25
Documentation/nfs.md Normal file
View 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"
```