diff --git a/docker-compose.yml b/docker-compose.yml index 10ec5a5..7df772a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,6 +43,7 @@ include: - ${SERVICE_PATH}/gitea/gitea.yml - ${SERVICE_PATH}/home-assistant/home-assistant.yml - ${SERVICE_PATH}/it-tools/it-tools.yml + - ${SERVICE_PATH}/jupyter-notebook/jupyter-notebook.yml - ${SERVICE_PATH}/mealie/mealie.yml - ${SERVICE_PATH}/paperless-ngx/paperless-ngx.yml - ${SERVICE_PATH}/shlink/shlink.yml diff --git a/project/service/jupyter-notebook/jupyter-notebook.yml b/project/service/jupyter-notebook/jupyter-notebook.yml new file mode 100644 index 0000000..0e04ea6 --- /dev/null +++ b/project/service/jupyter-notebook/jupyter-notebook.yml @@ -0,0 +1,19 @@ +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 + 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" \ No newline at end of file