-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (55 loc) · 1.21 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
version: '3.4'
x-build: &build
context: .
dockerfile: Dockerfile
x-shared: &common
build:
context: .
dockerfile: Dockerfile
services:
base:
image: platypose
<<: *common
volumes:
- .:/src/propose
- ./scripts:/scripts
- ./data:/data
python:
&python
image: platypose
entrypoint: [ "poetry", "run", "python" ]
env_file:
- .env
volumes:
- ./scripts:/scripts
- ./data:/data
- ./experiments:/experiments
- ./output:/output
- ./platypose:/src/platypose
- ./:/src
train:
image: platypose
volumes:
- ./scripts:/scripts
- ./data:/data
- ./experiments:/experiments
- ./output:/output
- ./platypose:/src/platypose
- ./:/src
entrypoint: [ "poetry", "run", "python", "/src/scripts/train.py" ]
env_file:
- .env
eval:
image: platypose
volumes:
- ./scripts:/scripts
- ./data:/data
- ./dataset:/dataset
- ./experiments:/experiments
- ./output:/output
- ./models:/src/models
- ./platypose:/src/platypose
- ./:/src
entrypoint: [ "poetry", "run", "python", "/src/scripts/evaluate.py" ]
env_file:
- .env