Skip to content

Instantly share code, notes, and snippets.

@Bumbleblo
Created August 1, 2019 19:41
Show Gist options
  • Save Bumbleblo/8a5b6c0293ecd9300ad9b9869075765f to your computer and use it in GitHub Desktop.
Save Bumbleblo/8a5b6c0293ecd9300ad9b9869075765f to your computer and use it in GitHub Desktop.
Bind NAS volume directly with docker-compose file
# volume section
volumes:
<volume name>:
driver: local
driver_opts:
type: "nfs"
o: "addr=<NAS ip>,nolock,soft,rw"
device: <path to directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment