From 2639ed9e65f4286e4ee206784ef59c1869694faf Mon Sep 17 00:00:00 2001 From: conache Date: Wed, 6 Mar 2024 19:07:54 +0200 Subject: [PATCH] Add updater service to docker-compose --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 02bf686..7c87e3b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,20 @@ services: - inference ipv4_address: 172.22.0.4 + updater: + container_name: updater-basic-eth-pred + build: . + environment: + - INFERENCE_API_ADDRESS=http://inference:8000 + command: python -u /app/update_app.py + depends_on: + - inference + networks: + eth-model-local: + aliases: + - updater + ipv4_address: 172.22.0.5 + worker: container_name: worker-basic-eth-pred environment: