Skip to content

Commit 1c3e550

Browse files
committed
compose: Use pre-built Docker images for CMG services
Update the Docker compose file to use pre-built Docker images for the CMG services (i.e. Gateway, Scheduler, Ripper) instead of building them locally on deployment. The images (currently built from 'main' with the 'main' and 'latest' tags) are available on Docker Hub: * https://hub.docker.com/r/cogstacksystems/cogstack-model-gateway * https://hub.docker.com/r/cogstacksystems/cogstack-model-gateway-scheduler * https://hub.docker.com/r/cogstacksystems/cogstack-model-gateway-ripper Signed-off-by: Phoevos Kalemkeris <[email protected]>
1 parent 702ad82 commit 1c3e550

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

docker-compose.yaml

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: cmg
2+
13
services:
24
postgres:
35
image: postgres:17.2
@@ -89,13 +91,7 @@ services:
8991
retries: 3
9092

9193
gateway:
92-
build:
93-
context: .
94-
dockerfile: ./cogstack_model_gateway/gateway/Dockerfile
95-
args:
96-
- HTTP_PROXY=$HTTP_PROXY
97-
- HTTPS_PROXY=$HTTPS_PROXY
98-
- NO_PROXY=$NO_PROXY
94+
image: cogstacksystems/cogstack-model-gateway:latest
9995
restart: always
10096
environment:
10197
- CMG_DB_USER=$CMG_DB_USER
@@ -137,13 +133,7 @@ services:
137133
- cogstack-model-serve_cms
138134

139135
scheduler:
140-
build:
141-
context: .
142-
dockerfile: ./cogstack_model_gateway/scheduler/Dockerfile
143-
args:
144-
- HTTP_PROXY=$HTTP_PROXY
145-
- HTTPS_PROXY=$HTTPS_PROXY
146-
- NO_PROXY=$NO_PROXY
136+
image: cogstacksystems/cogstack-model-gateway-scheduler:latest
147137
restart: always
148138
environment:
149139
- CMG_DB_USER=$CMG_DB_USER
@@ -182,13 +172,7 @@ services:
182172
- cogstack-model-serve_cms
183173

184174
ripper:
185-
build:
186-
context: .
187-
dockerfile: ./cogstack_model_gateway/ripper/Dockerfile
188-
args:
189-
- HTTP_PROXY=$HTTP_PROXY
190-
- HTTPS_PROXY=$HTTPS_PROXY
191-
- NO_PROXY=$NO_PROXY
175+
image: cogstacksystems/cogstack-model-gateway-ripper:latest
192176
restart: always
193177
environment:
194178
- CMG_RIPPER_INTERVAL=$CMG_RIPPER_INTERVAL

0 commit comments

Comments
 (0)