version: "3" services: jupyter: image: git.betalupi.com/mark/jupyter container_name: jupyter restart: unless-stopped volumes: - "./notebooks:/home/jovyan/notebooks" - "./jupyter:/home/jovyan/.jupyter" # host:container ports: - "127.0.0.1:8888:8888" # Allow GPU access. # Requires nvidia-container-toolkit deploy: resources: reservations: devices: - driver: nvidia count: 1 capabilities: [gpu]