16 lines
475 B
YAML
16 lines
475 B
YAML
services:
|
|
jupyterhub:
|
|
build: .
|
|
container_name: jupyterhub
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8000:8000
|
|
environment:
|
|
- JUPYTERHUB_LOG_LEVEL=DEBUG
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./templates:/srv/jupyterhub/templates:ro
|
|
- ./jupyterhub_config.py:/srv/jupyterhub/jupyterhub_config.py
|
|
- ./nbgrader_config.py:/srv/nbgrader/courses/nbgrader_config.py
|
|
- ../logs/jupyterhub:/var/log/jupyterhub
|