-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
47 lines (38 loc) · 2.16 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Environment
NODE_ENV= [ Can be 'production' or 'development' ]
NODE_PORT=3001
#LOG IN METHOD
REACT_APP_AUTH_METHOD= [ Can be ADFS or AUTHSERVICE. Use ADFS for Microsoft AD flow and AUTH for HPCC Auth Service https://github.com/hpcc-systems/Auth-Service ]
# HPCC Auth Service (https://github.com/hpcc-systems/Auth-Service)
#Required only if REACT_APP_AUTH_METHOD is set to AUTH
AUTH_URL= [ HPCC Auth Service url ]
AUTH_PORT= [ HPCC Auth Service port ]
AUTH_CLIENT_ID= [ This is a unique identifier for an application in Auth Service. Will be set up through Auth Service when a new Application is registered ]
#Microsoft AD server side token validation.
# Documentation: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-create-new-tenant
# Example: https://github.com/Azure-Samples/ms-identity-javascript-react-tutorial/tree/main/3-Authorization-II/1-call-api#scenario
#Required only if REACT_APP_AUTH_METHOD is set to ADFS
AZURE_TENANT_ID= [ Azure Tenant ID used by passport-azure-ad package for tokens validation ]
AZURE_API_ID= [ Azure WEB API APP ID used by passport-azure-ad package for tokens validation ]
# Email Services for dashboard sharing notifications
INTERNAL_DOMAINS_ONLY= [ Can be true or false. Set as true to restrict dashboard sharing to the internal domain only. ]
INTERNAL_DOMAIN= [ Can be null or any string. ex. INTERNAL_DOMAIN=mycompanyname will allow sharing dashboard to emails like user@mycompanyname.[com|net|...]]
TRANSPORT_HOST= [ Host url of email service provider ]
TRANSPORT_PORT= [ Port of email service provider ]
SHARE_FROM_EMAIL= [ Default email address to show who is the sender of an email ]
SHARE_URL= [ Full deployed application URL ex. https://realbi.com ]
# MySQL DB
DB_USER= [ MySQL user name ]
DB_PASS= [ MySQL user password ]
DB_ROOT_PASS= [ MySQL user root password ]
DB_NAME=real_bi
DB_HOST= [ Use localhost when running the application locally and db when run in docker container ]
DB_EXTERNAL_PORT=3307
# HPCC Config
DEFAULT_ROW_COUNT_RETURN=5000
# Encryption Algorithm
ALGORITHM=aes-256-cbc
# Nginx Config
HOST_HOSTNAME=[ Use your dommain address ex. realbi.hpccsystems.com ]
EXTERNAL_HTTP_PORT=3000
EXTERNAL_HTTPS_PORT=3000