-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.33 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
# version: '3.7'
# services:
# emsassist:
# image: haroon3rd/anaconda3:nvidia-v1
# container_name: emsassist
# volumes:
# - ./data:/home/EMSAssist-artifact-evaluation/data
# - ./model:/home/EMSAssist-artifact-evaluation/model
# #command: [/bin/bash -c "tail -f /dev/null"]
# command: tail -F anything
# #network_mode: "host"
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# capabilities: [gpu]
# volumes:
# emsassist: {}
version: '3.7'
services:
emsassist:
image: liuyidockers/emsassist-ae:emsassist_final3
container_name: emsassist
volumes:
- ./init_models:/home/EMSAssist/init_models
- ./examples:/home/EMSAssist/examples
- ./src:/home/EMSAssist/src
- ./data:/home/EMSAssist/data
- ./model:/home/EMSAssist/model
- ./requirements.txt:/home/EMSAssist/requirements.txt
- ./docker-compose.yml:/home/EMSAssist/docker-compose.yml
# - .:/home/EMSAssist/.
#command: [/bin/bash -c "tail -f /dev/null"]
# command: tail -F anything
#network_mode: "host"
working_dir: /home/EMSAssist
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes:
emsassist: {}