Commit bc1849db authored by Tushar's avatar Tushar
Browse files

Resolve minio_url

Showing with 2 additions and 2 deletions
+2 -2
......@@ -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
......
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment