feat: add jupyterhub role

- add nodejs module to use npm package provider
- add jupyterhub role
- add class to configure the jupyterhub instance
- add ldap groups
- add nginx simpleproxy
This commit is contained in:
2024-11-10 13:05:53 +11:00
parent 09a448ea52
commit 159d66af18
7 changed files with 239 additions and 0 deletions
@@ -0,0 +1,16 @@
[Unit]
Description=JupyterHub
After=network.target
[Service]
Type=simple
ExecStart=/opt/jupyterhub/venv/bin/jupyterhub -f /opt/jupyterhub/config.py
WorkingDirectory=/opt/jupyterhub
User=<%= @owner %>
Group=<%= @group %>
Environment="PATH=/opt/jupyterhub/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Restart=always
[Install]
WantedBy=multi-user.target