-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
example-env
40 lines (33 loc) · 1.47 KB
/
example-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
#This is an example environment file. Configure this file according your needs. Rename to .env
#Google Auth
GOOGLE_CLIENT_ID="YOUR_GOOGLE_AUTH_CLIENT_ID"
#Firebase - Firestore
FIREBASE_PRIVATE_KEY="./PRIVATE_KEY.json"
#Communication API Preferences
#Set to "True" if you would like to use Twilio for SMS/calls or "False" for Vonage
USE_TWILIO="True"
#VONAGE
#Application id and private key are used to generate JWT for the voice api
NEXMO_APPLICATION_ID="NEXMO_APPLICATION_ID"
NEXMO_PRIVATE_KEY="./NEXMO_PRIVATE_KEY"
#You use api key and secret to the sms api
NEXMO_API_KEY="NEXMO_API_KEY"
NEXMO_API_SECRET="NEXMO_API_SECRET"
NEXMO_NUMBER="NEXMO_VIRTUAL_NUMBER"
NEXMO_WHATSAPP_NUMBER="NEXMO_WHATSAPP_NUMBER"
#TWILIO
TWILIO_ACCOUNT_SID="TWILIO_ACCOUNT_SID"
TWILIO_AUTH_TOKEN="TWILIO_AUTH_TOKEN"
TWILIO_NUMBER="TWILIO_NUMBER"
TWILIO_WHATSAPP_NUMBER="TWILIO_WHATSAPP_NUMBER"
#For App purposes
SITE_URL="https://domain.ext"
#Aplication ping is 30 seconds. If a call is done then wait a time after call the same number again
WAIT_AFTER_CALL="120"
#When the number of failed pings is 60 send a sms to customer / 60 is the equal to 1 hour of intents
#Of course, you can change this parameter as you wish
NIGHTSCOUT_FAILED_PING_SMS="60"
# If after X seconds NIGHTSCOUT entries still not updating sms is sent to user notifying the dashboard is offline
NIGHTSCOUT_NOT_UPDATE_SECONDS = "1800"
# After sending the sms if the issue persist, wait for X intents to send the next sms
WAIT_AFTER_SMS_MARK="30"