-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 876 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 876 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
services:
almond:
build:
context: .
dockerfile: almond.Dockerfile
user: root
ports:
- 8002:8888
environment:
- JUPYTER_TOKEN=almond
- JUPYTERLAB_WORKSPACES_DIR=/main/external
volumes:
- .:/main/workspace
- samba-volume:/main/external
- ${REPOS_PATH}:/main/repos
- ${PIP_PATH}:/main/python-packages
security_opt:
- label:disable
- seccomp:unconfined
- apparmor:unconfined
cap_add:
- ALL
privileged: true
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
restart:
always
volumes:
samba-volume:
driver_opts:
type: cifs
o: username=${SMB_USER},password=${SMB_PASSWORD},vers=3.0,rw,file_mode=0777,dir_mode=0777
device: ${SMB_URL}