GithubHelp home page GithubHelp logo

flmorse / docker-colab-local Goto Github PK

View Code? Open in Web Editor NEW

This project forked from biplobsd/docker-colab-local

0.0 0.0 0.0 50 KB

A Docker container to act as a local runtime for Google Colab or private jupyter server with BERT preinstalled

Home Page: https://hub.docker.com/r/sorokine/docker-colab-local

Dockerfile 29.41% Shell 5.29% Python 65.30%

docker-colab-local's Introduction

docker Colab local Github action backend (unstable)

How to run

    1. Fork this repo or Download this repo and upload it to Github
    1. Setup secret repo environment variable as name NGROK_AUTH_TOKEN_DEC For this go to Settings>Secrets>New repository secret and Name box paste NGROK_AUTH_TOKEN_DEC and get Ngrok token from https://dashboard.ngrok.com/get-started/your-authtoken and copy-paste token to Value box and Add secret.
    1. Now run workflow action for this goto Actions> select Workflows as Colab backend > Run workflow
    1. Wait 2-3 minutes then goto to https://dashboard.ngrok.com/endpoints/status. You will see two links like http://7be55b53bbad.ap.ngrok.io/. Add with link home/runner/content/services.html or browse home>runner>content>services.html
    1. Now you see three services WETTY, GHFS, COLAB. Copy Colab commend after -> this. Ex: cloudflared access tcp --hostname https://watches-cause-towards-ref.trycloudflare.com --url localhost:8081
    1. Download Cloudflared binary depend on your os type from https://github.com/cloudflare/cloudflared/releases and rename just Cloudflared
    1. On same path open terminal and run cloudflared access tcp --hostname https://xxxxxxx.trycloudflare.com --url localhost:8081 (Note xxxxxxx is your unique word)
    1. Now open any Coalb notebook and select "connect to a local runtime" http://localhost:8081/ and connect (Note that it is not require any token)

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.