-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose-devenv.yml
46 lines (43 loc) · 1.17 KB
/
compose-devenv.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
38
39
40
41
42
43
44
45
46
version: '3'
services:
jn:
build:
context: .
dockerfile: dev_env/Dockerfile.devenv
args:
- TOKEN=${JUPYTER_TOKEN}
shm_size: '64g'
ports:
- "7777:7777" # gdb server
- "8888:8888" # Jupyter Notebook Server
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]
volumes:
- ".:/home/dev/3D-Volumetric-MedicalImageSegmentationWithDeepLearning/"
command: jupyter-notebook --ip=0.0.0.0 --port=8888 --no-browser --allow-root notebooks/
tb:
build:
context: .
dockerfile: dev_env/Dockerfile.devenv
shm_size: '4g'
ports:
- "6006:6006" # Tensorboard Server
depends_on: ["jn"]
volumes:
- ".:/home/dev/3D-Volumetric-MedicalImageSegmentationWithDeepLearning/"
command: tensorboard --host 0.0.0.0 --port=6006 --logdir_spec models/
ssh:
build:
context: .
dockerfile: dev_env/Dockerfile.devenv
shm_size: '64g'
ports:
- "7776:22" # ssh
depends_on: ["jn"]
volumes:
- ".:/home/dev/3D-Volumetric-MedicalImageSegmentationWithDeepLearning/"
command: /usr/sbin/sshd -D