observability.svc.plus/app/jupyter/docker-compose.yml
2026-02-01 20:53:55 +08:00

15 lines
462 B
YAML

# change .env files before running!
services:
jupyter:
image: ${JUPYTER_IMAGE}
container_name: jupyter
ports:
- "${JUPYTER_PORT}:${JUPYTER_PORT}"
volumes:
- /data/jupyter:/home/jovyan/work
environment:
- JUPYTER_TOKEN=${JUPYTER_TOKEN}
# mkdir -p /data/jupyter; chown -R 1000:100 /data/jupyter
# docker run -it -p 8888:8888 -v /data/jupyter:/home/jovyan/work -e JUPYTER_TOKEN=pigsty -name jupyter jupyter/minimal-notebook