Files
docker/Documentation/nfs.md

26 lines
398 B
Markdown

# 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"
```