From b585fbf192902232f5b4cd822118389eb4f43d2f Mon Sep 17 00:00:00 2001 From: Aman Kumar Shrivastava <amankumarshrivastava835@gmail.com> Date: Tue, 30 May 2023 21:04:58 +0000 Subject: [PATCH] rename --- sample.env | 46 +++++++++++++++++++++++++++++++++++++++++++++ .env => sample.env~ | 8 ++++---- 2 files changed, 50 insertions(+), 4 deletions(-) create mode 100644 sample.env rename .env => sample.env~ (78%) diff --git a/sample.env b/sample.env new file mode 100644 index 0000000..d38735f --- /dev/null +++ b/sample.env @@ -0,0 +1,46 @@ +POSTGRES_USER=postgres +POSTGRES_PASSWORD=postgres +DATABASE_USERNAME=fusionauth +DATABASE_PASSWORD=hkaLBM3RVnyYeYeqE3WI1w2e4Avpy0Wd5O3s3 +ES_JAVA_OPTS="-Xms512m -Xmx512m" +FUSIONAUTH_APP_MEMORY=512M + +#minio +MINIO_USERNAME=workflow-dev +MINIO_PASSWORD=workflow-dev +MINIO_BUCKETNAME=affiliationbucket + +# central envs +CENTRAL_USER_EMAIL=chakshu@samagragovernance.in +CENTRAL_USER_PASS=StrongPassword@1234 + +#enketo-express +ENCRYPTION_KEY=somestrongencrytionkey +LESS_SECURE_ENCRYPTION_KEY=ssssomestrongencrytionkey +FORM_MANAGER_BASE_URI=https://3006-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io + +# form manager +FORM_MANAGER_URL=http://form-manager:3006 +MINIO_URL=https://9000-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io +MINIO_ENDPOINT=minio +MINIO_PORT=9000 +REDIS_HOST=fm-cache +MINIO_USE_SSL=false +REDIS_PORT=6379 + +# TSDB +TSDB_POSTGRES_USER=timescaledb +TSDB_POSTGRES_PASSWORD=postgrespassword + +# GQL +HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey +HASURA_GRAPHQL_JWT_SECRET={"type":"RS256","jwk_url":"http://fusionauth:9011/.well-known/jwks.json"} +HASURA_GRAPHQL_DATABASE_URL=postgres://$TSDB_POSTGRES_USER:$TSDB_POSTGRES_PASSWORD@tsdb:5432/postgres?sslmode=disable + +#react wrapper +# http://service-name is not going to work as we are building a static build +# and serving it through nginx +# use actual IP address instead +REACT_APP_ENKETO_URL=https://8065-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io +REACT_APP_FORM_MANAGER_URL=https://3006-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io +REACT_APP_HASURA_URL=https://8080-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io \ No newline at end of file diff --git a/.env b/sample.env~ similarity index 78% rename from .env rename to sample.env~ index 0f6cad5..9ef6da2 100644 --- a/.env +++ b/sample.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=IP:PORT_OF_DEPLOYED_MINIO +MINIO_URL=https://9000-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io MINIO_ENDPOINT=minio MINIO_PORT=9000 REDIS_HOST=fm-cache @@ -41,6 +41,6 @@ HASURA_GRAPHQL_DATABASE_URL=postgres://$TSDB_POSTGRES_USER:$TSDB_POSTGRES_PASSWO # http://service-name is not going to work as we are building a static build # and serving it through nginx # use actual IP address instead -REACT_APP_ENKETO_URL=https://8065-tushar5526-workflow-0qffaj3egws.ws-us93.gitpod.io -REACT_APP_FORM_MANAGER_URL=https://3006-tushar5526-workflow-0qffaj3egws.ws-us93.gitpod.io -REACT_APP_HASURA_URL=https://8080-tushar5526-workflow-0qffaj3egws.ws-us93.gitpod.io \ No newline at end of file +REACT_APP_ENKETO_URL=https://8065-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io +REACT_APP_FORM_MANAGER_URL=https://3006-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io +REACT_APP_HASURA_URL=https://8080-coderamantech-workflow-wxavmus5rk8.ws-us98.gitpod.io \ No newline at end of file -- GitLab