Files
home-server-docker/project/service/jupyter-notebook/jupyter-notebook.yml
2024-07-19 12:38:32 +02:00

21 lines
617 B
YAML

services:
jupyter:
extends:
file: ${TEMPLATES_PATH}
service: default
image: quay.io/jupyter/base-notebook:latest
container_name: jupyter
volumes:
- ${SERVICE_PATH}/jupyter-notebook/data:/home/jovyan/work
ports:
- 4013:8888 # Web UI
networks:
- ip4net
labels:
# Watchtower
- "com.centurylinklabs.watchtower.enable=true"
# Traefik
- "traefik.enable=true"
- "traefik.http.routers.jupyter.rule=Host(`jupyter.${LOCAL_DOMAIN}`)"
- "traefik.http.routers.jupyter.entrypoints=https"
- "traefik.http.routers.jupyter.tls=true"