Commit cbedc680 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Move single-use default values to compose

parent 10034cfe
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
NFS_VERSION=4.2
NFS_PORT=2049
NFS_EXPOSED_PORT=2049
NFS_PORT_MODE=host
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
+2 −2
Original line number Diff line number Diff line
@@ -11,9 +11,9 @@ services:
      NFS_EXPORT_0: ${NFS_ROOT_PATH} ${NFS_ROOT_ADDR}(${NFS_ROOT_OPTS})
    ports:
      - target: ${NFS_PORT}
        published: ${NFS_EXPOSED_PORT}
        published: ${NFS_EXPOSED_PORT:-2049}
        protocol: tcp
        mode: ${NFS_PORT_MODE}
        mode: ${NFS_PORT_MODE:-host}
    volumes:
      - data-vol:${NFS_ROOT_PATH}
      - /lib/modules:/lib/modules:ro