Update to naming of network_drive as network_mount (includes both server name and share). when run locally, network mount defaults to data folder
This commit is contained in:
@ -6,6 +6,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DOCKER_CONTAINER=1
|
||||
- NETWORK_MOUNT=/mnt/network_mount
|
||||
ports:
|
||||
- "${JUPYTER_PORT:-8889}:8888"
|
||||
volumes:
|
||||
@ -13,7 +14,7 @@ services:
|
||||
- ./figures:/idear/figures
|
||||
- ./notebooks:/idear/notebooks
|
||||
- ./scripts:/idear/scripts
|
||||
- network_drive:/mnt/network_drive:rw
|
||||
- network_mount:/mnt/network_mount:rw
|
||||
command: >
|
||||
bash -c "
|
||||
jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root --NotebookApp.token='${JUPYTER_TOKEN:-my-token}'
|
||||
@ -26,6 +27,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DOCKER_CONTAINER=1
|
||||
- NETWORK_MOUNT=/idear/data
|
||||
ports:
|
||||
- "${JUPYTER_PORT:-8889}:8888"
|
||||
volumes:
|
||||
@ -38,7 +40,7 @@ services:
|
||||
- local-only
|
||||
|
||||
volumes:
|
||||
network_drive:
|
||||
network_mount:
|
||||
driver_opts:
|
||||
type: cifs
|
||||
o: "username=${CIFS_USER},password=${CIFS_PASS},vers=3.0"
|
||||
|
Reference in New Issue
Block a user