Skip to content
Snippets Groups Projects
Commit e58fb199 authored by František Dvořák's avatar František Dvořák
Browse files

Fix ownCloud home directory mounting

parent 3bda3846
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,14 @@ singleuser: ...@@ -79,6 +79,14 @@ singleuser:
args: args:
- "--CondaKernelSpecManager.env_filter='/opt/conda$'" - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
image: "valtri/single-user:jupyter-4e-collab" image: "valtri/single-user:jupyter-4e-collab"
#
# Dirty hack to make remote mount working properly:
#
# 1) wait for webdav sidecar image to kick in
# 2) change directory to the mounted version of itself
# 3) launch notebook server
#
cmd: [ "/bin/sh", "-c", "i=0; while ! grep '^webdav-fs: /home/jovyan ' /proc/mounts && test $i -lt 30; do echo 'Waiting for ownClound mount...'; sleep 0.5; i=$((i+1)); done; cd .; jupyterhub-singleuser" ]
hub: hub:
services: services:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment