File tree Expand file tree Collapse file tree 5 files changed +711
-7
lines changed
packages/form-manager/src/forms Expand file tree Collapse file tree 5 files changed +711
-7
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ CENTRAL_USER_PASS=StrongPassword@1234
1717# enketo-express
1818ENCRYPTION_KEY = somestrongencrytionkey
1919LESS_SECURE_ENCRYPTION_KEY = ssssomestrongencrytionkey
20+ FORM_MANAGER_BASE_URI = IP:PORT_OF_DEPLOYED_INSTANCE
2021
2122# form manager
2223FORM_MANAGER_URL = http://form-manager:3006
@@ -40,6 +41,6 @@ HASURA_GRAPHQL_DATABASE_URL=postgres://$TSDB_POSTGRES_USER:$TSDB_POSTGRES_PASSWO
4041# http://service-name is not going to work as we are building a static build
4142# and serving it through nginx
4243# use actual IP address instead
43- REACT_APP_ENKETO_URL = http ://enketo-express: 8065
44- REACT_APP_FORM_MANAGER_URL = http ://form-manager: 3006
45- REACT_APP_HASURA_URL = http ://gql: 8080
44+ REACT_APP_ENKETO_URL = https ://8065-tushar5526-workflow-0qffaj3egws.ws-us93.gitpod.io
45+ REACT_APP_FORM_MANAGER_URL = https ://3006-tushar5526-workflow-0qffaj3egws.ws-us93.gitpod.io
46+ REACT_APP_HASURA_URL = https ://8080-tushar5526-workflow-0qffaj3egws.ws-us93.gitpod.io
Original file line number Diff line number Diff line change 2828 sed -i~ "/^REACT_APP_ENKETO_URL=/s/=.*/=https\:\/\/8065-${GITPOD_WORKSPACE_URL:8}/" .env
2929 sed -i~ "/^REACT_APP_FORM_MANAGER_URL=/s/=.*/=https\:\/\/3006-${GITPOD_WORKSPACE_URL:8}/" .env
3030 sed -i~ "/^REACT_APP_HASURA_URL=/s/=.*/=https\:\/\/8080-${GITPOD_WORKSPACE_URL:8}/" .env
31+ # for enketo-express
32+ sed -i~ "/^FORM_MANAGER_BASE_URI=/s/=.*/=https\:\/\/3006-${GITPOD_WORKSPACE_URL:8}/" .env
3133
3234 docker-compose up -d
3335 gp sync-done setup
Original file line number Diff line number Diff line change 11{
22 "forms" : {
3- "jumping_form_1 " : {
3+ "test_form " : {
44 "skipOnSuccessMessage" : true ,
55 "prefill" : {},
66 "submissionURL" : " " ,
4949 }
5050 }
5151 },
52- "startingForm" : " jumping_form_1 " ,
52+ "startingForm" : " test_form " ,
5353 "metaData" : {}
5454}
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ services:
166166 REDIS_MAIN_PORT : 6379
167167 REDIS_CACHE_HOST : redis_cache
168168 REDIS_CACHE_PORT : 6379
169- FORM_MANAGER_BASE_URI : ${FORM_MANAGER_URL }
169+ FORM_MANAGER_BASE_URI : ${FORM_MANAGER_BASE_URI }
170170
171171 fm-cache :
172172 image : redis:7
@@ -192,6 +192,9 @@ services:
192192 MINIO_BUCKETNAME : ${MINIO_BUCKETNAME}
193193 REDIS_HOST : ${REDIS_HOST}
194194 REDIS_PORT : ${REDIS_PORT}
195+ FORM_MANAGER_URL : ${http://form-manager:3006}
196+ MINIO_USE_SSL : ${MINIO_USE_SSL}
197+
195198
196199 wrapper :
197200 image : wrapper
You can’t perform that action at this time.
0 commit comments