-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 904 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (38 loc) · 904 Bytes
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
38
39
40
version: '2.3'
services:
notebook:
runtime: nvidia
image: ecobost/brainreader
env_file: ../.env
ports:
- "7777:8888"
volumes:
- /mnt:/mnt
- /tmp:/tmp
- .:/src/brainreader
- ../featurevis:/src/featurevis
environment:
- DISPLAY=$DISPLAY
entrypoint:
- jupyter
- lab
- --ip=0.0.0.0
- --allow-root
- --NotebookApp.token=''
- --no-browser
working_dir: /src/brainreader
ipc: host # needed for multiprocessing (dataloader) in pytorch
bash:
runtime: nvidia
image: ecobost/brainreader
env_file: ../.env
volumes:
- /mnt:/mnt
- /tmp:/tmp
- .:/src/brainreader
- ../featurevis:/src/featurevis
environment:
- DISPLAY=$DISPLAY
entrypoint: /bin/bash
working_dir: /src/brainreader
ipc: host # needed for multiprocessing (dataloader) in pytorch