Skip to content

Commit bc1849d

Browse files
committed
Resolve minio_url
1 parent 53aa7e9 commit bc1849d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ FORM_MANAGER_BASE_URI=IP:PORT_OF_DEPLOYED_INSTANCE
2121

2222
# form manager
2323
FORM_MANAGER_URL=http://form-manager:3006
24-
MINIO_URL=http://minio:9000
24+
MINIO_URL=IP:PORT_OF_DEPLOYED_MINIO
2525
MINIO_ENDPOINT=minio
2626
MINIO_PORT=9000
2727
REDIS_HOST=fm-cache

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tasks:
2020
gp sync-done dev-setup
2121
# 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
2222
# sed -i~ "/^FORM_MANAGER_URL=/s/=.*/=https\:\/\/3006-${GITPOD_WORKSPACE_URL:8}/" .env
23-
# sed -i~ "/^MINIO_URL=/s/=.*/=https\:\/\/9000-${GITPOD_WORKSPACE_URL:8}/" .env
23+
sed -i~ "/^MINIO_URL=/s/=.*/=https\:\/\/9000-${GITPOD_WORKSPACE_URL:8}/" .env
2424
# sed -i~ "/^MINIO_ENDPOINT=/s/=.*/=9000-${GITPOD_WORKSPACE_URL:8}/" .env
2525
# sed -i~ "/^MINIO_PORT=/s/=.*/=80/" .env
2626
# sed -i~ "/^MINIO_USE_SSL=/s/=.*/=true/" .env

0 commit comments

Comments
 (0)