Created
January 30, 2022 00:45
-
-
Save efraintorlo/b4bd04889de1c31e5772df952104defc to your computer and use it in GitHub Desktop.
Start JupyterHub using Supervisord, it asumes Node is available via NVM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:jupyterhub] | |
environment=HOME='/home/user' | |
directory=/home/user/PythonProjects/jupyterhub | |
command=/bin/bash -c 'source ~/.nvm/nvm.sh && source ~/.bashrc && nvm use default && source venv/bin/activate && jupyterhub' | |
user=user | |
autostart=true | |
autorestart=true | |
startretries=3 | |
stderr_logfile = /var/log/supervisor/jupyterhub-stderr.log | |
stdout_logfile = /var/log/supervisor/jupyterhub-stdout.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JupyterHub installed on python3 virtual environment