diff --git a/.env b/.env
index 8f166170561912f8355f3ef1425c0f816f76f5c0..0f6cad594342167e373fdabee828ff72cb5e857c 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 93f337890f18de07910df1b9d0a3cd91ccbd92cd..b11f6988ad3c84e899362089eafbc7a600f8fcab 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