gpu-jupyter/docker-compose.yml

18 lines
336 B
YAML
Raw Permalink Normal View History

2019-11-12 21:22:20 +00:00
version: "3.4"
services:
gpu-jupyter:
2020-02-22 18:02:41 +00:00
build: .build
2019-11-12 21:22:20 +00:00
ports:
2019-11-13 14:45:07 +00:00
- ${JUPYTER_PORT}:8888
2019-11-12 21:22:20 +00:00
volumes:
- ./data:/home/jovyan/work
environment:
GRANT_SUDO: "yes"
JUPYTER_ENABLE_LAB: "yes"
2021-01-26 20:14:29 +00:00
NB_UID: '${UID}'
NB_GID: '${GID}'
2019-11-12 21:22:20 +00:00
# enable sudo permissions
user:
"root"
2020-03-31 11:23:25 +00:00
restart: always