Loading .env +1 −0 Original line number Diff line number Diff line NFS_VERSION=4.2 NFS_PORT=2049 NFS_ROOT_PATH=/nfs NFS_ROOT_ADDR=10.0.0.0/8 NFS_ROOT_OPTS=rw,fsid=0,crossmnt,insecure,no_subtree_check,no_root_squash,async docker-compose.yml +4 −4 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ version: '3.7' services: nfs-server: image: ${IMAGE_NAME:-erichough/nfs-server}:${IMAGE_TAG:-latest} container_name: ${NFS_CONTAINER_NAME:-nfs-server} container_name: ${CONTAINER_NAME:-nfs-server} environment: NFS_PORT: NFS_VERSION: Loading @@ -12,9 +12,9 @@ services: network_mode: host ports: - target: ${NFS_PORT} published: ${NFS_EXPOSED_PORT:-2049} published: ${EXPOSED_PORT:-2049} protocol: tcp mode: ${NFS_PORT_MODE:-host} mode: ${PORT_MODE:-host} volumes: - data-vol:${NFS_ROOT_PATH} - /lib/modules:/lib/modules:ro Loading @@ -25,4 +25,4 @@ services: volumes: data-vol: name: ${NFS_SERVER_DATA_VOL_NAME:-nfs-data-vol} name: ${DATA_VOL_NAME:-nfs-data-vol} Loading
.env +1 −0 Original line number Diff line number Diff line NFS_VERSION=4.2 NFS_PORT=2049 NFS_ROOT_PATH=/nfs NFS_ROOT_ADDR=10.0.0.0/8 NFS_ROOT_OPTS=rw,fsid=0,crossmnt,insecure,no_subtree_check,no_root_squash,async
docker-compose.yml +4 −4 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ version: '3.7' services: nfs-server: image: ${IMAGE_NAME:-erichough/nfs-server}:${IMAGE_TAG:-latest} container_name: ${NFS_CONTAINER_NAME:-nfs-server} container_name: ${CONTAINER_NAME:-nfs-server} environment: NFS_PORT: NFS_VERSION: Loading @@ -12,9 +12,9 @@ services: network_mode: host ports: - target: ${NFS_PORT} published: ${NFS_EXPOSED_PORT:-2049} published: ${EXPOSED_PORT:-2049} protocol: tcp mode: ${NFS_PORT_MODE:-host} mode: ${PORT_MODE:-host} volumes: - data-vol:${NFS_ROOT_PATH} - /lib/modules:/lib/modules:ro Loading @@ -25,4 +25,4 @@ services: volumes: data-vol: name: ${NFS_SERVER_DATA_VOL_NAME:-nfs-data-vol} name: ${DATA_VOL_NAME:-nfs-data-vol}