Giter Club home page Giter Club logo

Comments (6)

cboettig avatar cboettig commented on July 24, 2024

I think jupyterlab works out of the box with the default binder images, but looks like we need to update this binder image to include lab. Currently only includes jupyterhub (via ?urlpath=tree) and rstudio (urlpath=rstudio).

@yuvipanda or @choldgraf can probably tell me what I need to update in this Dockerfile to pull in Juypter Lab, and can point you to the Dockerfile sources for the 'vanilla' binder. (This repo adds binder on top of the rocker stack, which is convenient for R / rocker users but inverted from the traditional binder stack).

from binder.

choldgraf avatar choldgraf commented on July 24, 2024

hey @vnijs - I'd recommend checking out the Binder documentation at "docs.mybinder.org" or browsing through the example repositories in binder-examples as you mentioned in your comment. Binder treats Dockerfiles as an "advanced" use case and generally discourages them unless they really need to be used. If you have questions about this, come say hello in the gitter channel: https://gitter.im/jupyterhub/binder

from binder.

vnijs avatar vnijs commented on July 24, 2024

@cboettig Thanks for the clarification
@choldgraf I'm pretty much tied to docker and looking for the easiest (secure) approach for remote access to the services running in the container. It seems jupyterhub / binder should fit the bill. I'll look at the documentation again and post any questions to the gitter channel. Thanks

from binder.

cboettig avatar cboettig commented on July 24, 2024

@vnijs Just a side note here, but if what you're after is mostly the SSL bit, I particularly like using Caddy server for this. You can get Caddy as a separate docker image and deploy it next to RStudio, Jupyter, or any other service pretty easily with the standard docker-compose strategy. Here's my typical Caddy + RStudio + SSL setup: https://github.com/boettiger-lab/servers/tree/master/rstudio (see the docker-compose.yml). (Caddy is basically a super-user-friendly version of nginx, which will automatically register and renew SSL certs for your domain via LetsEncrypt: https://caddyserver.com)

Binder really takes the opposite approach, as Chris described, of hiding/shielding you from any of the Docker stuff so everything just works like magic. And it is pretty magical. But if you just want SSL certs for containerized services on a server somewhere, I think something simpler like Caddy would be easiest. HTH!

from binder.

choldgraf avatar choldgraf commented on July 24, 2024

FWIW, JupyterHub (which BinderHub uses under the hood) has a lot of customizable security features. It's a but unclear to me how to expose these features to users for their individual environments in Binder, I agree w @cboettig that you'd probably need to roll your own setup in that case (e.g. deploying your own BinderHub and customizing as you like instead of using mybinder.org, or just using a different containerized deployment approach).

(also, note that mybinder.org does use HTTPS everywhere...so your first point-of-contact with the JupyterHub uses HTTPS as well)

from binder.

vnijs avatar vnijs commented on July 24, 2024

@cboettig and @choldgraf: Thanks for the suggestions! I will look into these options in more detail asap.

from binder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.