Add collaborative jupyter lab
This commit is contained in:
parent
07b685a89b
commit
2d947ec243
@ -80,3 +80,17 @@
|
||||
url: https://github.com/pbrinkmeier/tichy-clicker
|
||||
commit: 7dfb14183c765e3661fda84a7e89c2f73ca86f26
|
||||
owner: paul
|
||||
- name: Add jupyter user with UID 42000
|
||||
become: yes
|
||||
ansible.builtin.user:
|
||||
name: jupyter
|
||||
uid: 42000
|
||||
state: present
|
||||
- name: Add Notebooks folder
|
||||
become: yes
|
||||
ansible.builtin.file:
|
||||
path: /home/jupyter/Notebooks
|
||||
owner: jupyter
|
||||
group: jupyter
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
@ -17,3 +17,10 @@ codi.pbrinkmeier.de {
|
||||
git.pbrinkmeier.de {
|
||||
reverse_proxy gitlab:80
|
||||
}
|
||||
|
||||
jupyter.pbrinkmeier.de {
|
||||
reverse_proxy jupyter:8888
|
||||
basicauth {
|
||||
wug JDJhJDE0JEJrQXUzVWxFZ2JGVmx6YlZWTkpYdy5IMjRXdnZZdGw5SjZDcUg2ZWMxOEVjcEV6dWhIRmhD
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
# web
|
||||
|
||||
Contains stuff exposed via HTTP(S) to the Internet, e.g. personal website, Wiki, etc.
|
||||
|
||||
## Jupyter
|
||||
|
||||
The Docker image for Jupyter is built using Nix. That process is not part of the Ansible setup (yet).
|
||||
|
@ -78,6 +78,17 @@ services:
|
||||
nginx['listen_port'] = 80
|
||||
nginx['listen_https'] = false
|
||||
|
||||
jupyter:
|
||||
image: ihaskell-docker:1.0
|
||||
# ports:
|
||||
# - "8888:8888"
|
||||
user: "42000" # Jupyter user UID (jupyter does not exist in container (TODO...))
|
||||
environment:
|
||||
HOME: /Notebooks
|
||||
volumes:
|
||||
- /home/jupyter/Notebooks:/Notebooks
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
caddy_data:
|
||||
caddy_config:
|
||||
|
Loading…
x
Reference in New Issue
Block a user