-
Notifications
You must be signed in to change notification settings - Fork 3
/
sample.env
178 lines (143 loc) · 5.5 KB
/
sample.env
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
##Set CORS Origin
CORS_ORIGIN=
##Keycloak Settings (Mandatory)
KEYCLOAK_URL=
KEYCLOAK_URL_REALM=
KEYCLOAK_BPM_CLIENT_SECRET=
KEYCLOAK_ADMIN_CLIENT_SECRET=
KEYCLOAK_ADMIN_SRVPASSWORD=
KEYCLOAK_ADMIN_INTAKE_GROUPID=
JWT_OIDC_AUDIENCE=forms-flow-web
##Websocket Settings. This is required when message broker Redis is setup (Mandatory)
WEBSOCKET_BROKER_HOST={IP-ADDRESS}
WEBSOCKET_BROKER_PORT=6379
WEBSOCKET_BROKER_PASSCODE=
##Database Settings - Request Management (Mandatory)
FOI_DATABASE_USERNAME=postgres
FOI_DATABASE_PASSWORD=
FOI_DATABASE_NAME=postgres
FOI_DATABASE_HOST=foi-requests-DB
FOI_DATABASE_PORT=5432
##EDW Database Settings - Historical search (Mandatory)
FOI_EDW_DATABASE_USERNAME=postgres
FOI_EDW_DATABASE_PASSWORD=
FOI_EDW_DATABASE_NAME=foi_edw
FOI_EDW_DATABASE_HOST=
FOI_EDW_DATABASE_PORT=
##Database Settings - Worflow Engine (Mandatory)
CAMUNDA_JDBC_USER=admin
CAMUNDA_JDBC_PASSWORD=
CAMUNDA_JDBC_URL=jdbc:postgresql://forms-flow-bpm-db:5432/formsflow-bpm
#Message queue of Raw Request (Mandatory)
WEBSOCKET_FOI_RAWREQUEST_TOPIC=foi-rawrequest
#Integration Endpoints of FOI (Mandatory)
#Workflow engine endpoint for handling messages from message broker
FORMSFLOW_WF_URL=http://{IP-ADDRESS}:8000/camunda/engine-rest
#Request Management URI
FOI_REQ_MANAGEMENT_API_URL=http://{IP-ADDRESS}:15000
#Below given is required only for intgration with formsflow.ai API (Optional)
FORMSFLOW_API_URL=http://{IP-ADDRESS}:5000
FORMSFLOW_WEB_URL=http://{IP-ADDRESS}:4000
#Below given is required only for intgration with formsflow.ai FORMIO (Optional)
FORMIO_ROOT_EMAIL=
FORMIO_ROOT_PASSWORD=
FORMIO_DEFAULT_PROJECT_URL=http://{IP-ADDRESS}:3001
#Log Settings. Defaulted to ERROR. Enable and change for other modes (Optional)
#CAMUNDA_APP_ROOT_LOG_FLAG=ERROR
##Websocket Settings for task events.Below given is required only for streaming events (Optional)
#WEBSOCKET_SECURITY_ORIGIN=http://localhost:8000
#Allowed Options: TASK_EVENT, TASK_EVENT_DETAILS. To send multiple seperate by comma.
#WEBSOCKET_MESSAGE_TYPE=TASK_EVENT
#WEBSOCKET_ENCRYPT_KEY=
#FORMSFLOW.AI CORS SETUP : THIS WILL BE REMOVED ON CLEANUP
APP_SECURITY_ORIGIN=*
CORS_ORIGIN=http://localhost:8000,http://localhost:3000
#Cache timeout in seconds
CACHE_ENABLED=Y
CACHE_TIMEOUT=3600
CACHE_REDISURL=redis://{username}:{password}@{host}:password
FOI_REQUESTQUEUE_REDISURL=redis://{username}:{password}@{host}:password
OSS_S3_FORMS_BUCKET=
OSS_S3_FORMS_ACCESS_KEY_ID=
OSS_S3_FORMS_SECRET_ACCESS_KEY=
OSS_S3_RECORDS_ACCESS_KEY_ID=
OSS_S3_RECORDS_SECRET_ACCESS_KEY=
OSS_S3_HOST=
OSS_S3_REGION=
OSS_S3_SERVICE=
OSS_S3_ENVIRONMENT=dev
OSS_S3_CHUNK_SIZE=
# The below setting defines the criteria of days for which the notification to be fetched.
FOI_NOTIFICATION_DAYS=14
FOI_ADDITIONAL_HOLIDAYS=30-09-XXXX
#SocketIO push notifications
SOCKETIO_PING_INTERVAL=30
SOCKETIO_PING_TIMEOUT=5
#Supported options : True or False
SOCKETIO_LOG_ENABLED=false
#Supported options : REDIS or IN-MEMORY or NONE (Setting as NONE will turn off push notifications).
SOCKETIO_MESSAGE_QTYPE=REDIS
#Redis QType Settings
SOCKETIO_REDISURL=redis://{username}:{password}@{host}:password
SOCKETIO_REDIS_COMMENT_CHANNEL=foi-comment
SOCKETIO_REDIS_HEALTHCHECK_INTERVAL=10
SOCKETIO_REDIS_CONNECT_TIMEOUT=5
SOCKETIO_REDIS_SLEEP_TIME=3.0
SOCKETIO_CONNECT_URL=http://{IP-ADDRESS}:15000
SOCKETIO_RECONNECTION_DELAY=15000
SOCKETIO_RECONNECTION_DELAY_MAX=30000
#AXIS base URL
AXIS_API_URL=
SOCKETIO_CONNECT_NONCE=
#To tune connection settings (Optional)
#SQLALCHEMY_POOL_SIZE=9
#SQLALCHEMY_MAX_OVERFLOW=18
#SQLALCHEMY_POOL_TIMEOUT=30
#SQLALCHEMY_CONNECT_TIMEOUT=30
#SQLALCHEMY_POOL_PRE_PING=False
#SQLALCHEMY_ECHO=False
FOI_FLOW_REPORTING_URL=
# Log Settings : Modify the docker-compose for changing the default log level setup.
# Supported Levels: CRITICAL, ERROR, WARNING, INFO, DEBUG
#LOG_ROOT={Defaulted to DEBUG}
#LOG_BASIC={Defaulted to WARNING}
#LOG_TRACING={Defaulted to ERROR}
#To enable log for modules; prefix with LOG_ and provide log levels. Say (Key Modules): LOG_SQLALCHEMY, LOG_FLASK, LOG_URLLIB3, LOG_ENGINEIO, LOG_REDIS, LOG_SOCKETIO, LOG_REQUESTS
#LOG_SQLALCHEMY=DEBUG
#EMAIL SETTINGS
EMAIL_SERVER_IMAP=imap.gmail.com
EMAIL_SERVER_SMTP=smtp.gmail.com
EMAIL_SERVER_SMTP_PORT=587
EMAIL_SRUSERID=
EMAIL_SRPWD=
EMAIL_SENDER_ADDRESS=
EMAIL_FOLDER_OUTBOX=[Gmail]/Sent Mail
EMAIL_FOLDER_INBOX=Inbox
PAYMENT_EXPIRY_DAYS=20
PAYMENT_CONFIG={"cfrduedate": {"includeoffhold": "N"}, "duedate": {"includeoffhold": "N"}}
FOI_RECORD_FORMATS=
EVENT_QUEUE_HOST=
EVENT_QUEUE_PORT=
EVENT_QUEUE_PASSWORD=
EVENT_QUEUE_CONVERSION_STREAMKEY='file-conversion-local'
EVENT_QUEUE_DEDUPE_STREAMKEY='DIVISION-PDF-STITCH-local'
EVENT_QUEUE_PDFSTITCH_STREAMKEY='FOIDEDUPE-local'
EVENT_QUEUE_PDFSTITCH_LARGE_FILE_STREAMKEY='DIVISION-PDF-STITCH-large-files'
EVENT_QUEUE_CONVERSION_LARGE_FILE_STREAM_KEY='file-conversion-large-files'
EVENT_QUEUE_DEDUPE_LARGE_FILE_STREAMKEY='FOIDEDUPE-large-files'
OSS_S3_ENVIRONMENT=dev
RECORD_PROCESSING_HRS=2
FOI_DOCREVIEWER_BASE_API_URL=
FOI_DOCREVIEWER_BASE_API_TIMEOUT=
STREAM_SEPARATION_FILE_SIZE_LIMIT=5242880
DISABLE_REDACT_WEBLINK=false
DISABLE_GATHERINGRECORDS_TAB=false
KC_SRC_ACC_TOKEN_EXPIRY=60
MUTE_NOTIFICATION={"MCF": {"request_types": ["Personal"], "state_exceptions": ["Call For Records", "Ministry Sign Off"], "type_exceptions":["Reply User Comments", "Tagged User Comments"]}}
EVENT_QUEUE_PAGECALCULATOR_STREAM_KEY="CALCULATE-PAGE-COUNT"
UNOPENED_REPORT_CUTOFF_DAYS=10
UNOPENED_REPORT_WAIT_DAYS=5
UNOPENED_REPORT_JARO_CUTOFF=0.8
UNOPENED_REPORT_EMAIL_RECIPIENT=
RECORD_DOWNLOAD_LIMIT=500
RECORD_DOWNLOAD_SIZE_LIMIT=1073741824