-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (35 loc) · 925 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "2.1"
services:
website:
build:
context: ./website
dockerfile: ./Dockerfile.dev
ports:
- "3000:3000"
- "24678:24678"
# command: npm run dev
volumes:
- ./website/:/website
- ./website/node_modules:/website/node_modules
jupyter:
build:
context: ./jupyter
volumes:
- ./jupyter/widgets:/home/jovyan/widgets
- ./jupyter/notebooks:/home/jovyan/notebooks
- ./jupyter/ext:/home/jovyan/ext
# - ./src/code-snippets:/home/jovyan/.local/share/jupyter/metadata/code-snippets/
ports:
- "8888:8888"
environment:
NB_UID: ${UID}
NB_GID: ${GID}
entrypoint: start-notebook.sh
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
command: --VoilaConfiguration.enable_nbextensions=True --LabApp.token=''