A Gamers Grind / XFGN / LM
Status
  • 🖥️www.agamersgrind.com
  • 🏙️--- Public Files ---
    • 👋Welcome, friends
    • ⛑️I need help!
    • ☕Buy me a Coffee
  • 📚Guides
    • Mini Guides
      • Valheim FPS Boost
      • Redirect domain to Google Site
      • Docker Compose
        • 'All' Compose File
        • Add Health Check to Container
        • Mount NFS Share to Container
        • Map hostname to container
    • Portainer and GitOps
      • Set up GitHub
      • Install Portainer
      • Create your first GipOps Compose file
      • Deploy your first GitOps stack
      • Managing your production compose files
    • Cloudflare
      • Domains
      • Generate an API Key
      • Tunnel
        • Create a Tunnel
        • Create a Proxy (Public Hostname)
        • Access Groups & Authentication
      • Dynamic DNS
    • Pterodactyl
      • Creating a new Panel
      • Creating a new Wings node
      • Join servers via domain
      • Configuring your Node Database
      • Server Best Practices & Suggestions
      • Troubleshooting
  • 🎮Game Servers
    • Valheim Public
    • Valheim Private
    • MultiMC (Minecraft)
    • CreateCraft (Minecraft)
    • Insurgency Sandstorm
  • ⚔️AGG Moderation
    • ❔Creating a new Server
    • Approving Valheim Application
  • 🗄️Internal Documentation
Powered by GitBook
On this page

Was this helpful?

  1. Guides
  2. Mini Guides
  3. Docker Compose

Mount NFS Share to Container

docker-compose.yml
version: "2.3"
services:
  app:
    image: myimage
    volumes:
      - nfs:/container/path
....

volumes:
  nfs:
    driver_opts:
      type: "nfs"
      o: addr=$NFSSERV,nfsvers=4
      device: $NFSPATH
.env
NFSSERV=fully.qualified.domain or IP address of NFS server
$NFSPATH=:/Path/To/NFS/Share
PreviousAdd Health Check to ContainerNextMap hostname to container

Last updated 11 months ago

Was this helpful?

📚