From a6ad9ca4ef5cb2fc9e782d6db19f704db50376ed Mon Sep 17 00:00:00 2001 From: Uchechukwu Orji Date: Wed, 12 Jun 2024 11:17:31 +0100 Subject: [PATCH] build docker images locally for dev environment --- dev/docker-compose.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev/docker-compose.yaml b/dev/docker-compose.yaml index 0963ac5..a60aa21 100644 --- a/dev/docker-compose.yaml +++ b/dev/docker-compose.yaml @@ -20,7 +20,8 @@ services: depends_on: postgresdb: condition: service_healthy - image: kiwix/mirrors-qa-backend + build: + context: ../backend container_name: mirrors-qa-backend environment: POSTGRES_URI: postgresql+psycopg://mirrors_qa:mirrors_qa@postgresdb:5432/mirrors_qa @@ -29,7 +30,9 @@ services: ports: - 8000:80 worker_manager: - image: kiwix/mirrors-qa-worker-manager + build: + context: ../worker + dockerfile: manager.Dockerfile container_name: mirrors-qa-worker-manager environment: - BACKEND_ROOT_API=http://backend