From f653e7a51df29661ef1cc7c1a4faa221ab77cb4d Mon Sep 17 00:00:00 2001
From: Felipe D'Abrantes <felidabrantes@gmail>
Date: Thu, 20 Apr 2023 23:59:40 +0100
Subject: [PATCH] Add environment variables to front-service docker build

---
 docker-compose.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docker-compose.yml b/docker-compose.yml
index af897648..d7d5fd18 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -45,6 +45,10 @@ services:
       - ./daily-thought-frontend:/frontend-service/app
       - /frontend-service/app/node_modules
       - /frontend-service/app/.next
+    environment:
+      - NEXT_PUBLIC_FEED_SERVICE_URL=http://localhost:9001/
+      - NEXT_PUBLIC_USER_SERVICE_URL=http://localhost:9002/
+      - NEXT_PUBLIC_FRIEND_SERVICE_URL=http://localhost:9003/
 
   feed-mongo:
     image: mongo
-- 
GitLab