From a7b8e4e288d98fb7846b0d1ba14211e3ead830f9 Mon Sep 17 00:00:00 2001 From: Carlos Castillo Date: Fri, 22 Nov 2024 21:37:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=20fix=20render=20configur?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- render.yml => render.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) rename render.yml => render.yaml (76%) diff --git a/render.yml b/render.yaml similarity index 76% rename from render.yml rename to render.yaml index f982cdb..97c9d12 100644 --- a/render.yml +++ b/render.yaml @@ -8,9 +8,10 @@ services: plan: free envVars: - key: NWP_CLIENT_URL - type: pserv - name: nwp - envVarKey: RENDER_EXTERNAL_URL + fromService: + type: pserv + name: nwp + envVarKey: RENDER_EXTERNAL_URL region: oregon dockerContext: . dockerfilePath: ./Dockerfile @@ -21,9 +22,10 @@ services: repo: https://github.com/carloscasalar/night-watch-planner envVars: - key: VITE_PLAN_REST_API_HOST - type: pserv - name: night-watch-planner - envVarKey: RENDER_EXTERNAL_URL + fromService: + type: pserv + name: night-watch-planner + envVarKey: RENDER_EXTERNAL_URL buildCommand: npm ci; npm run build staticPublishPath: dist rootDir: client