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

Adapt port config to compose v2

parent 13d416ef
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -11,10 +11,7 @@ services:
      NFS_EXPORT_0: ${NFS_ROOT_PATH} ${NFS_ROOT_ADDR}(${NFS_ROOT_OPTS})
    network_mode: host
    ports:
      - target: ${NFS_PORT}
        published: ${EXPOSED_PORT:-2049}
        protocol: tcp
        mode: ${PORT_MODE:-host}
      - ${EXPOSED_PORT:-2049}:${NFS_PORT}
    volumes:
      - data-vol:${NFS_ROOT_PATH}
      - /lib/modules:/lib/modules:ro