sudo apt update
sudo apt install nfs-kernel-server nfs-common
sudo mkdir /data/nfs-mount
sudo chown username:groupname /data/nfs-mount
sudo chmod 755 /data/nfs-mount
sudo vim /etc/exports
# Add below line in /etc/exports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gogs: | |
image: gogs/gogs:latest | |
ports: | |
- "10021:3000" | |
- "10022:22" | |
volumes: | |
- ./data:/data | |
drone: | |
image: drone/drone:0.4 | |
ports: |