Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Jupyter Notebook devcontainer for developing and running notebooks.

License

Notifications You must be signed in to change notification settings

fullboar/jupyter-notebook-devcontainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TL;DR

This is a basic setup to run a Jupyter Notebooks (JN) in a a VSCode devcontainer. It'll run both the Miniconda run-time environment as well as a PostgreSQL database container.

How to Use

If you (re)build the container you can pass environment variables via a environment.yml* file located in the project root. See the Dockerfile for more information.

The python module to allow for a .env file is included in the requirements file. Either create a .env file or rename the env.sample file and add environment variables in the standard format:

MY_ENV_VAR=some-cool-value

As per usuall, add any additional python modules you need to the requirements file and rebuild the container to have the changes applied.

Finally, when rebuilding the container the Dockerfile will expect to find a tar.gz file with the OpenShift CLI in it. You can get this from afore mentiond link. I use include it because quite allot of my work relates to MLOps for which we use OpenShift.

LICENSE

The licence for Miniconda (a minimial distribution of Anaconda) which is the base images for this devcontainer can be found here.

About

Jupyter Notebook devcontainer for developing and running notebooks.

Topics

Resources

License

Stars

Watchers

Forks