-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (54 loc) · 1.22 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.5'
services:
build_image:
build:
context: .
dockerfile: Dockerfile
image: semantic-segmentation:local
download_data:
image: semantic-segmentation:local
container_name: download_data
entrypoint: ./entrypoint.sh download_data
working_dir: /app
env_file:
- .env
volumes:
- ./:/app
setup_data:
image: semantic-segmentation:local
container_name: setup_data
entrypoint: ./entrypoint.sh setup_data
working_dir: /app
env_file:
- .env
environment:
- DATA_TYPE=all # supported options are [all, s3, local]
volumes:
- ./:/app
train_model:
image: semantic-segmentation:local
container_name: train_model
entrypoint: ./entrypoint.sh train
working_dir: /app
env_file:
- .env
volumes:
- ./:/app
deploy_model:
image: semantic-segmentation:local
container_name: deploy_model
entrypoint: ./entrypoint.sh deploy
working_dir: /app
env_file:
- .env
volumes:
- ./:/app
test_model:
image: semantic-segmentation:local
container_name: test_model
entrypoint: ./entrypoint.sh test
working_dir: /app
env_file:
- .env
volumes:
- ./:/app