services: datachain_processor_networked: image: datachain_processor restart: unless-stopped environment: - DOCKER_CONTAINER=1 - NETWORK_MOUNT=/mnt/network_mount ports: - "8889:8888" - "8050:8050" volumes: - ./data:/acsmdc/data - ./figures:/acsmdc/figures - ./pipelines/params:/acsmdc/pipelines/params - network_mount:/mnt/network_mount:rw command: > bash -c " jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root --NotebookApp.token='my-token' & python /acsmdc/app/data_flagging_app.py " profiles: - networked datachain_processor: image: datachain_processor restart: unless-stopped environment: - DOCKER_CONTAINER=1 - NETWORK_MOUNT=/acsmdc/data ports: - "8889:8888" - "8050:8050" volumes: - ./data:/acsmdc/data - ./figures:/acsmdc/figures - ./pipelines/params:/acsmdc/pipelines/params command: > bash -c " jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root --NotebookApp.token='my-token' & python /acsmdc/app/data_flagging_app.py " profiles: - local-only volumes: network_mount: driver_opts: type: cifs o: "username=${CIFS_USER},password=${CIFS_PASS},vers=3.0" device: "${NETWORK_MOUNT}"