Change image for nfs server.
This commit is contained in:
@@ -96,16 +96,21 @@ services:
|
|||||||
command: ["/bin/sh", "-c", "nmbd --daemon && smbd --foreground --debug-stdout --no-process-group --configfile /etc/samba/smb.conf"]
|
command: ["/bin/sh", "-c", "nmbd --daemon && smbd --foreground --debug-stdout --no-process-group --configfile /etc/samba/smb.conf"]
|
||||||
|
|
||||||
nfs:
|
nfs:
|
||||||
image: erichough/nfs-server
|
image: gists/nfs-server
|
||||||
container_name: nfs
|
container_name: nfs
|
||||||
hostname: nfs
|
hostname: nfs
|
||||||
privileged: true
|
privileged: true
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
- SETPCAP
|
||||||
networks:
|
networks:
|
||||||
- networking
|
- networking
|
||||||
ports:
|
ports:
|
||||||
- "2049:2049"
|
- "2049:2049"
|
||||||
environment:
|
environment:
|
||||||
NFS_EXPORT_0: /nfs-share 192.168.178.0/24(rw,no_subtree_check)
|
NFS_DIR: /nfs-share
|
||||||
|
NFS_DOMAIN: 192.168.178.0/24
|
||||||
|
NFS_OPTION: rw,sync,no_subtree_check,nohide,no_root_squash
|
||||||
volumes:
|
volumes:
|
||||||
- /media/backup:/nfs-share
|
- /media/backup:/nfs-share
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user