-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
167 lines (122 loc) · 3.41 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
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
# APP
DEBUG=true
NODE_ENV=development
PORT=5000
API_VERSION=1.0.0
LOCALES=en,sw
DEFAULT_LOCALE=en
LOG_PATH=
APP_PHONE=
APP_EMAIL=
# request logger(morgan)
LOG_ENABLED=true
LOG_FORMAT=combined
# LOGGER
LOGGER_LOG_ENABLED=true
LOGGER_LOG_LEVEL=silly
LOGGER_USE_CONSOLE=true
LOGGER_USE_FILE=true
LOGGER_LOG_HTTP_FORMAT=combined
LOGGER_LOG_PATH=./logs/app-%DATE%.log
LOGGER_LOG_IGNORE=password,apiKey,secret,client_secret
# static serve
SERVE_STATIC=true
SERVE_STATIC_PATH=public
# server favicon(requires serve static to be enable)
SERVE_FAVICON=false
# body parser
BODY_PARSER_LIMIT=2mb
BODY_PARSER_JSON_TYPE=application/json
# helmet
HELMET_HSTS=false
# mquery
MQUERY_LIMIT=10
MQUERY_MAX_LIMIT=50
# JWT
JWT_SECRET=9_4n13.hs~ns*ma42#@!`
JWT_ALGORITHM=HS256
JWT_AUDIENCE=open311
JWT_ISSUER=
JWT_SUBJECT=
JWT_EXPIRES_IN=7 days
JWT_API_TOKEN_EXPIRES_IN=1000y
# node-config
SUPPRESS_NO_CONFIG_WARNING=true
## COUNTRY DATA
DEFAULT_COUNTRY_CODE=TZ
## COUNTER
COUNTER_YEAR_FORMAT='YY'
COUNTER_PREFIX=
COUNTER_PAD_SIZE=4
# QUEUE(deprecated)
QUEUE_NAME=mongoose
QUEUE_DEFAULT_JOB_TYPE=mongoose
QUEUE_TIMEOUT=5000
QUEUE_CONCURRENCY=10
QUEUE_ATTEMPTS=3
QUEUE_REMOVE_ON_COMPLETE=true
QUEUE_HTTP_PORT=9090
# KUE
KUE_NAME=mongoose
KUE_JOB_TYPES=mongoose
KUE_TIMEOUT=5000
KUE_CONCURRENCY=10
KUE_MAX_ATTEMPTS=3
KUE_PRIORITY=normal
KUE_JOB_EVENTS=false
KUE_REMOVE_ON_COMPLETE=true
KUE_HTTP_PORT=9090
KUE_HTTP_USERNAME=kue
KUE_HTTP_PASSWORD=kue
# DATABASES
REDIS_URL=
MONGODB_URI=
# TRANSPORTS
DEFAULT_TRANSPORT_NAME=echo
DEFAULT_SMTP_TRANSPORT_NAME=echo
DEFAULT_SMS_TRANSPORT_NAME=echo
DEFAULT_PUSH_TRANSPORT_NAME=echo
DEFAULT_SMS_SENDER_ID=
ENABLE_SYNC_TRANSPORT=false
# SENDER DEFAULTS
DEFAULT_SENDER_NAME=Notification
DEFAULT_SENDER_EMAIL=
DEFAULT_SENDER_SMS=
DEFAULT_SENDER_PUSH=
# TZ EGA SMS TRANSPORT
SMS_EGA_TZ_API_KEY=
SMS_EGA_TZ_API_USER=
SMS_EGA_TZ_API_URL=
SMS_EGA_TZ_DEFAULT_SENDER_ID=
SMS_EGA_TZ_DEFAULT_SERVICE_ID=
SMS_EGA_TZ_TEST_RECEIVER=
# INFOBIP SMS TRANSPORT
SMS_INFOBIP_DEFAULT_SENDER_ID=
SMS_INFOBIP_USERNAME=
SMS_INFOBIP_PASSWORD=
SMS_INFOBIP_TEST_RECEIVER=
# SMTP MAIL TRANSPORT
SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_SECURE=
SMTP_FROM_NAME=
SMTP_FROM_ADDRESS=
SMTP_TEST_RECEIVER=
# CHANGELOG
CHANGELOG_NOTIFICATION_CHANNELS=PUSH,EMAIL
# PREDEFINES
PREDEFINE_NAMESPACES=Item,Zone,Unit,ServiceType,BlockReason,QualityCause,QualityMeasure,QualityAdvisory
PREDEFINE_RELATIONS='{"jurisdiction":{"ref":"Jurisdiction","autopopulate":{"select":"code name","maxDepth":1}}}'
# TEMPLATES
TEMPLATES_TICKET_OPEN='Ndugu mteja, tiketi namba ya tatizo uliloripoti ni {ticket}. Piga {phone} kwa ufatiliaji. Ahsante.'
TEMPLATES_TICKET_RESOLVE='Ndugu mteja, tatizo lako namba {ticket} uliloripoti limeshafanyiwa kazi. Piga {phone} kwa msaada zaidi. Ahsante.'
TEMPLATES_CHANGELOG='{service} issue #{ticket} has been updated by {party}.'
TEMPLATES_CHANGELOG_TEAM='{party} has joined {service} issue #{ticket} team.'
TEMPLATES_CHANGELOG_ASSIGNED='{service} issue #{ticket} have been assigned to {party}.'
TEMPLATES_CHANGELOG_ATTENDING='{party} is now attending {service} issue #{ticket}.'
TEMPLATES_CHANGELOG_COMPLETED='{service} issue #{ticket} have been completed by {party}.'
TEMPLATES_CHANGELOG_VERIFIED='{service} issue #{ticket} have been verified by {party}.'
TEMPLATES_CHANGELOG_APPROVED='{service} issue #{ticket} have been approved by {party}.'
TEMPLATES_CHANGELOG_RESOLVED='{service} issue #{ticket} have been resolved by {party}.'