-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
80 lines (79 loc) · 1.79 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '2.4'
services:
gpu-goe:
build:
context: ./
dockerfile: Dockerfile
ports:
- "8888:8888"
volumes:
- type: bind
source: /usr/users/burg/projects
target: /projects
bind:
propagation: shared
- type: bind
source: /user/burg/data
target: /data
bind:
propagation: shared
- type: bind
source: /usr/users/agecker
target: /agecker
bind:
propagation: shared
env_file: /usr/users/burg/.env
runtime: nvidia
environment:
- DISPLAY=$DISPLAY
- NVIDIA_VISIBLE_DEVICES=0
- GPU=0
- USER=burg
- NB_UID=617278
- NB_USER=burg
- NB_GID=47162
- NB_GROUP=ECKERLAB
- JUPYTER_ENABLE_LAB=yes
- GRANT_SUDO=yes
- CHOWN_HOME=yes
container_name: burg-gpu-0
shm_size: 128G
user: root
working_dir: / # must be one dir above any mounted dir
cpu-goe:
build:
context: ./
dockerfile: Dockerfile
ports:
- "9999:8888"
volumes:
- type: bind
source: /usr/users/burg/projects
target: /projects
bind:
propagation: shared
- type: bind
source: /user/burg/data
target: /data
bind:
propagation: shared
- type: bind
source: /usr/users/agecker
target: /agecker
bind:
propagation: shared
env_file: /usr/users/burg/.env
environment:
- DISPLAY=$DISPLAY
- USER=BURG
- NB_UID=617278
- NB_USER=burg
- NB_GID=47162
- NB_GROUP=ECKERLAB
- JUPYTER_ENABLE_LAB=yes
- GRANT_SUDO=yes
- CHOWN_HOME=yes
container_name: burg-cpu
shm_size: 128G
user: root
working_dir: / # must be one dir above any mounted dir