From 97a3df7952ed9e39eb9a592e3e99975397b5166f Mon Sep 17 00:00:00 2001
From: Mauricio Palma <mauricio.palma@woodlikeocean.com>
Date: Mon, 3 Jul 2023 14:32:35 +0200
Subject: [PATCH] feat: update env variables for chat services

---
 mprocs-local-backend.yaml | 2 ++
 mprocs-production.yaml    | 2 ++
 mprocs.yaml               | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/mprocs-local-backend.yaml b/mprocs-local-backend.yaml
index 6d21139..f80dba8 100644
--- a/mprocs-local-backend.yaml
+++ b/mprocs-local-backend.yaml
@@ -3,12 +3,14 @@ procs:
     cwd: <CONFIG_DIR>/holi-frontends
     env:
       HOLI_API_URL: http://localhost:4455/graphql
+      HOLI_API_GATEWAY: http://localhost:4455
     shell: >
       yarn mobile:dev
   web:
     cwd: <CONFIG_DIR>/holi-frontends
     env:
       HOLI_API_URL: http://localhost:4455/graphql
+      HOLI_API_GATEWAY: http://localhost:4455
       NEXT_PUBLIC_OWNCLOUD_BASE_URL: "https://local.cloud.holi.social"
       SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
     shell: >
diff --git a/mprocs-production.yaml b/mprocs-production.yaml
index b7fae44..1899dd1 100644
--- a/mprocs-production.yaml
+++ b/mprocs-production.yaml
@@ -5,6 +5,7 @@ procs:
       yarn mobile:dev
     env:
       HOLI_API_URL: "https://production.unified.apis.holi.social/graphql"
+      HOLI_API_GATEWAY: "https://production.unified.apis.holi.social"
       KRATOS_BASE_URL: "https://auth.holi.social"
     cwd: "<CONFIG_DIR>/holi-frontends"
   web:
@@ -12,6 +13,7 @@ procs:
       yarn web:dev
     env:
       HOLI_API_URL: "https://production.unified.apis.holi.social/graphql"
+      HOLI_API_GATEWAY: "https://production.unified.apis.holi.social"
       SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
     cwd: "<CONFIG_DIR>/holi-frontends"
   storybook:
diff --git a/mprocs.yaml b/mprocs.yaml
index 1a2db56..3b97ab9 100644
--- a/mprocs.yaml
+++ b/mprocs.yaml
@@ -3,12 +3,14 @@ procs:
     cwd: <CONFIG_DIR>/holi-frontends
     env:
       HOLI_API_URL: https://staging.unified.apis.holi.social/graphql
+      HOLI_API_GATEWAY: https://staging.unified.apis.holi.social
     shell: >
       yarn mobile:dev
   web:
     cwd: <CONFIG_DIR>/holi-frontends
     env:
       HOLI_API_URL: https://staging.unified.apis.holi.social/graphql
+      HOLI_API_GATEWAY: https://staging.unified.apis.holi.social
       SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
     shell: >
       yarn web:dev
-- 
GitLab