From b7b2bbcee64f36f3cf83c37a375dd78ec3f90d33 Mon Sep 17 00:00:00 2001 From: Oriol Agost Batalla Date: Mon, 6 Nov 2023 16:57:28 +0100 Subject: [PATCH] feat: modify docker-compose --- docker-compose.prod.yml | 4 ++++ docker-compose.yml | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 9b1498d..0224bc6 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -16,6 +16,10 @@ services: args: - BACKEND_URL=${FRONTEND_API_URL} + refuapp-supervisor-frontend: + build: + args: + - BACKEND_URL=${FRONTEND_API_URL} postgres: volumes: - postgres_data:/var/lib/postgresql/data diff --git a/docker-compose.yml b/docker-compose.yml index c9b2193..2423ffe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -46,6 +46,15 @@ services: depends_on: - refuapp-backend + refuapp-supervisor-frontend: + build: + context: ./refuapp-supervisor + dockerfile: Dockerfile + args: + - BACKEND_URL=${FRONTEND_API_URL} + depends_on: + - refuapp-backend + sensors_db: image: postgres:latest environment: