server-compose/domains/stvnliu.me/jupyterlab/docker-compose.yml
steven@rockyserver 49e53ddf33 deployment
2026-11-01 14:22:24 +00:00

24 lines
829 B
YAML

networks:
proxy_net:
name: "proxy-net"
external: true
services:
jupyter:
build:
context: .
dockerfile: ./docker/jupyter/Dockerfile
volumes:
- ./work:/home/jovyan/work
- ./ssh/config:/home/jovyan/.ssh/config
- /home/steven/.ssh/id_ed25519.pub:/home/jovyan/.ssh/id_ed25519.pub
- /home/steven/.ssh/id_ed25519:/home/jovyan/.ssh/id_ed25519
# port: 8888
networks:
- proxy_net
command: "start-notebook.sh --NotebookApp.token="
labels:
- traefik.enable=true
- traefik.http.routers.jupyterlab-stvnliu-me.tls=true
- traefik.http.routers.jupyterlab-stvnliu-me.entrypoints=websecure
- traefik.http.routers.jupyterlab-stvnliu-me.rule=Host(`lab.stvnliu.me`)
- traefik.http.services.jupyterlab-stvnliu-me.loadbalancer.server.port=8888