-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.model-deploy.yaml
146 lines (140 loc) · 4.89 KB
/
docker-compose.model-deploy.yaml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
services:
optimisation:
image: ghcr.io/jbris/deep-root-gen:${APP_VERSION}
restart: always
stop_grace_period: 10s
environment:
MLFLOW_TRACKING_URI: http://mlflow:5000
MLFLOW_BACKEND_STORE_URI: $MLFLOW_BACKEND_STORE_URI
MLFLOW_S3_ENDPOINT_URL: http://minio:9000
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
BENTOML_DO_NOT_TRACK: True
BENTOML_HOME: /app/outputs/bento
BENTOML_BUCKET: s3://bento
BENTOML_CONFIG: /app/bentoml_configuration.yaml
ports:
- 5001:3000
volumes:
- ./app/app.py:/app/app.py
- ./app/conf:/app/conf
- ./app/pages:/app/pages
- ./app/outputs:/app/outputs
- ./app/flows:/app/flows
- ./app/deployments:/app/deployments
- ./deeprootgen:/app/deeprootgen
- ./bentoml_configuration.yaml:/app/bentoml_configuration.yaml
command: >
bentoml serve --host 0.0.0.0 -p 3000 deployments.optimisation_service:svc
sensitivity_analysis:
image: ghcr.io/jbris/deep-root-gen:${APP_VERSION}
restart: always
stop_grace_period: 10s
environment:
MLFLOW_TRACKING_URI: http://mlflow:5000
MLFLOW_BACKEND_STORE_URI: $MLFLOW_BACKEND_STORE_URI
MLFLOW_S3_ENDPOINT_URL: http://minio:9000
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
BENTOML_DO_NOT_TRACK: True
BENTOML_HOME: /app/outputs/bento
BENTOML_BUCKET: s3://bento
BENTOML_CONFIG: /app/bentoml_configuration.yaml
ports:
- 5002:3000
volumes:
- ./app/app.py:/app/app.py
- ./app/conf:/app/conf
- ./app/pages:/app/pages
- ./app/outputs:/app/outputs
- ./app/flows:/app/flows
- ./app/deployments:/app/deployments
- ./deeprootgen:/app/deeprootgen
- ./bentoml_configuration.yaml:/app/bentoml_configuration.yaml
command: >
bentoml serve --host 0.0.0.0 -p 3000 deployments.sensitivity_analysis_service:svc
abc:
image: ghcr.io/jbris/deep-root-gen:${APP_VERSION}
restart: always
stop_grace_period: 10s
environment:
MLFLOW_TRACKING_URI: http://mlflow:5000
MLFLOW_BACKEND_STORE_URI: $MLFLOW_BACKEND_STORE_URI
MLFLOW_S3_ENDPOINT_URL: http://minio:9000
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
BENTOML_DO_NOT_TRACK: True
BENTOML_HOME: /app/outputs/bento
BENTOML_BUCKET: s3://bento
BENTOML_CONFIG: /app/bentoml_configuration.yaml
ports:
- 5003:3000
volumes:
- ./app/app.py:/app/app.py
- ./app/conf:/app/conf
- ./app/pages:/app/pages
- ./app/outputs:/app/outputs
- ./app/flows:/app/flows
- ./app/deployments:/app/deployments
- ./deeprootgen:/app/deeprootgen
- ./bentoml_configuration.yaml:/app/bentoml_configuration.yaml
command: >
bentoml serve --host 0.0.0.0 -p 3000 deployments.abc_service:svc
snpe:
image: ghcr.io/jbris/deep-root-gen:${APP_VERSION}
restart: always
stop_grace_period: 10s
environment:
MLFLOW_TRACKING_URI: http://mlflow:5000
MLFLOW_BACKEND_STORE_URI: $MLFLOW_BACKEND_STORE_URI
MLFLOW_S3_ENDPOINT_URL: http://minio:9000
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
BENTOML_DO_NOT_TRACK: True
BENTOML_HOME: /app/outputs/bento
BENTOML_BUCKET: s3://bento
BENTOML_CONFIG: /app/bentoml_configuration.yaml
ports:
- 5004:3000
volumes:
- ./app/app.py:/app/app.py
- ./app/conf:/app/conf
- ./app/pages:/app/pages
- ./app/outputs:/app/outputs
- ./app/flows:/app/flows
- ./app/deployments:/app/deployments
- ./deeprootgen:/app/deeprootgen
- ./bentoml_configuration.yaml:/app/bentoml_configuration.yaml
command: >
bentoml serve --host 0.0.0.0 -p 3000 deployments.snpe_service:svc
surrogate:
image: ghcr.io/jbris/deep-root-gen:${APP_VERSION}
restart: always
stop_grace_period: 10s
environment:
MLFLOW_TRACKING_URI: http://mlflow:5000
MLFLOW_BACKEND_STORE_URI: $MLFLOW_BACKEND_STORE_URI
MLFLOW_S3_ENDPOINT_URL: http://minio:9000
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
BENTOML_DO_NOT_TRACK: True
BENTOML_HOME: /app/outputs/bento
BENTOML_BUCKET: s3://bento
BENTOML_CONFIG: /app/bentoml_configuration.yaml
ports:
- 5005:3000
volumes:
- ./app/app.py:/app/app.py
- ./app/conf:/app/conf
- ./app/pages:/app/pages
- ./app/outputs:/app/outputs
- ./app/flows:/app/flows
- ./app/deployments:/app/deployments
- ./deeprootgen:/app/deeprootgen
- ./bentoml_configuration.yaml:/app/bentoml_configuration.yaml
command: >
bentoml serve --host 0.0.0.0 -p 3000 deployments.surrogate_service:svc
networks:
default:
name: $COMPOSE_PROJECT_NAME
driver: bridge