Change image for nfs server.

This commit is contained in:
2022-06-02 05:08:01 +02:00
parent a1c98bee00
commit c3e228dded

View File

@@ -96,16 +96,21 @@ services:
command: ["/bin/sh", "-c", "nmbd --daemon && smbd --foreground --debug-stdout --no-process-group --configfile /etc/samba/smb.conf"]
nfs:
image: erichough/nfs-server
image: gists/nfs-server
container_name: nfs
hostname: nfs
privileged: true
cap_add:
- SYS_ADMIN
- SETPCAP
networks:
- networking
ports:
- "2049:2049"
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:
- /media/backup:/nfs-share
restart: unless-stopped