-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (53 loc) · 1.74 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
version: "3"
services:
preprocess:
image: ${REGISTRY}/${IMAGE_NAME}/preprocess:${MAIN_TAG}
build:
context: .
dockerfile: ./preprocess/Dockerfile
inference:
image: ${REGISTRY}/${IMAGE_NAME}/inference:${MAIN_TAG}
build:
context: .
dockerfile: ./inference/Dockerfile
utils:
image: ${REGISTRY}/${IMAGE_NAME}/utils:${MAIN_TAG}
build:
context: .
dockerfile: ./utils/Dockerfile
training:
image: ${REGISTRY}/${IMAGE_NAME}/training:${MAIN_TAG}
build:
context: .
dockerfile: ./training/Dockerfile
#cache_from:
# - gcr.io/acbm-317517/artemisgcp_training:latest
endpoint:
image: ${REGISTRY}/${IMAGE_NAME}/endpoint:${MAIN_TAG}
build:
context: ./endpoint
dockerfile: Dockerfile
download_model:
image: ${REGISTRY}/${IMAGE_NAME}/download_model:${MAIN_TAG}
build:
context: .
dockerfile: ./download_model/Dockerfile
# version tag the dockers
version_preprocess:
extends: preprocess
image: ${REGISTRY}/${IMAGE_NAME}/preprocess:${VERSION_TAG:-latest}
version_inference:
extends: inference
image: ${REGISTRY}/${IMAGE_NAME}/inference:${VERSION_TAG:-latest}
version_utils:
extends: utils
image: ${REGISTRY}/${IMAGE_NAME}/utils:${VERSION_TAG:-latest}
version_training:
extends: training
image: ${REGISTRY}/${IMAGE_NAME}/training:${VERSION_TAG:-latest}
version_endpoint:
extends: endpoint
image: ${REGISTRY}/${IMAGE_NAME}/endpoint:${VERSION_TAG:-latest}
version_download_model:
extends: download_model
image: ${REGISTRY}/${IMAGE_NAME}/download_model:${VERSION_TAG:-latest}