docker/jupyter/docker-compose.yml

25 lines
517 B
YAML
Raw Normal View History

2022-10-01 17:30:14 -07:00
version: "3"
services:
jupyter:
image: git.betalupi.com/mark/jupyter
container_name: jupyter
restart: unless-stopped
volumes:
2022-10-01 19:10:15 -07:00
- "./notebooks:/home/jovyan/notebooks"
- "./jupyter:/home/jovyan/.jupyter"
2022-10-01 17:30:14 -07:00
# host:container
ports:
2022-11-15 22:06:34 -08:00
- "127.0.0.1:8888:8888"
2023-03-05 10:14:13 -08:00
# Allow GPU access.
# Requires nvidia-containter-toolkit
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]