You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a Student working on an Project for Uni and trying to use nbgrader/ngshare within docker.
I tried using it with Dockerspawner and the setup seems fine but the Single-User-Container is not able to connect ngshare server.
Is it even possible to use ngshare with Dockerspawner?
The text was updated successfully, but these errors were encountered:
ngshare wasn't designed for Dockerspawner, but I believe it should work. You probably have to set environment variables differently than in Kubernetes. For example, the hub can't talk to ngshare using the URL http://ngshare.default.svc.cluster.local:8080, and you have to specify something else that works with Docker. I suggest reading this to see what environment variables you need to set for ngshare, this to see what environment variables we set in Kubernetes (you may also need to look at the values.yaml to understand some of the template variables), and try coming up with something that works with Docker. If you have any problems, feel free to let me know and I'll try my best to help.
Thank you @rkevin-arch !
I tried working with the environment variables with docker-compose and it seems that ngshare as a service is setup.
But still when I try to create a course using ngshare-course-management create_course , no connection could be established with the ngshare server. Is it possible that the Single-User-Server can't connect to/access the url of the ngshare service?
I'm a Student working on an Project for Uni and trying to use nbgrader/ngshare within docker.
I tried using it with Dockerspawner and the setup seems fine but the Single-User-Container is not able to connect ngshare server.
Is it even possible to use ngshare with Dockerspawner?
The text was updated successfully, but these errors were encountered: