23 lines
521 B
YAML
23 lines
521 B
YAML
---
|
|
version: "3"
|
|
services:
|
|
jupyter:
|
|
image: jupyter/scipy-notebook:latest
|
|
container_name: jupyter
|
|
environment:
|
|
JUPYTER_ENABLE_LAB: ${JUPYTER_ENABLE_LAB}
|
|
JUPYTER_TOKEN: ${JUPYTER_TOKEN}
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
- default
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=proxy"
|
|
- "traefik.http.routers.jupyter.entrypoints=websecure"
|
|
- "traefik.http.routers.jupyter.rule=Host(${HOST})"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|