From bc1849db224357947bbdfaac2d3e65e94254e5a7 Mon Sep 17 00:00:00 2001 From: Tushar <codingid6@gmail.com> Date: Wed, 12 Apr 2023 08:18:03 +0000 Subject: [PATCH] Resolve minio_url --- .env | 2 +- .gitpod.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 8f16617..0f6cad5 100644 --- a/.env +++ b/.env @@ -21,7 +21,7 @@ FORM_MANAGER_BASE_URI=IP:PORT_OF_DEPLOYED_INSTANCE # form manager FORM_MANAGER_URL=http://form-manager:3006 -MINIO_URL=http://minio:9000 +MINIO_URL=IP:PORT_OF_DEPLOYED_MINIO MINIO_ENDPOINT=minio MINIO_PORT=9000 REDIS_HOST=fm-cache diff --git a/.gitpod.yml b/.gitpod.yml index 93f3378..b11f698 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -20,7 +20,7 @@ tasks: gp sync-done dev-setup # Not needed now, we can use docker-compose networking.. but one can use this in a script to repalce env vars at runtime in .env # sed -i~ "/^FORM_MANAGER_URL=/s/=.*/=https\:\/\/3006-${GITPOD_WORKSPACE_URL:8}/" .env - # sed -i~ "/^MINIO_URL=/s/=.*/=https\:\/\/9000-${GITPOD_WORKSPACE_URL:8}/" .env + sed -i~ "/^MINIO_URL=/s/=.*/=https\:\/\/9000-${GITPOD_WORKSPACE_URL:8}/" .env # sed -i~ "/^MINIO_ENDPOINT=/s/=.*/=9000-${GITPOD_WORKSPACE_URL:8}/" .env # sed -i~ "/^MINIO_PORT=/s/=.*/=80/" .env # sed -i~ "/^MINIO_USE_SSL=/s/=.*/=true/" .env -- GitLab