-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-example
More file actions
54 lines (46 loc) · 2.78 KB
/
Copy pathenv-example
File metadata and controls
54 lines (46 loc) · 2.78 KB
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
# Access Credentials for API
# Your APP ID after creation of application on https://portal.enablex.io/
# Example - 5f1e99bf90ce3c3ccsc52e6462
ENABLEX_APP_ID=
# Your APP KEY after creation of application on https://portal.enablex.io/
# Example - Ry3uEurydeSyTuReXaDuMe9u7ysasadd2d2d2by
ENABLEX_APP_KEY=
# Set port on which this service will run
SERVICE_PORT=
# Webhook - EnableX will send HTTP requests to your application after certain events occur.
# If you have deployed this service on a web server which is publicly accessible,
# set the public URL. Example - `https://{PUBLIC_URL}`
# If you want to test this service on a web server running locally on your own computer at a given port, with ngrok, you can generate URL that tunnels requests to your web server running locally.
# Once ngrok installed, run `./ngrok http {SERVICE_PORT}`. It should provide you a ngrok URL something similar to `https://fc6c892d6cd7.ngrok.io`
# Set the ngrok URL. Example - `https://fc6c892d6cd7.ngrok.io`
PUBLIC_WEBHOOK_URL=
# WEBHOOK - EnableX will send HTTP (or HTTPS) requests to your application after certain events occur
# Set this to `true` if you have deployed this service on a web server which is publicly accessible
# Else set to `false`
USE_PUBLIC_WEBHOOK=false
# Set this if WEBHOOK set to `true` Else leave it empty
# Set to web server address where this service is deployed and publicly accessible
PUBLIC_WEBHOOK_HOST=
# Either WEBHOOK or NGROK should be set to `true`
# Set this to `true` if you want to deploy this service on a web server running locally on your own computer at a given port.
# Else set to `false`
# With ngrok, you can generate HTTP / HTTPS URL (such as https://fc6c892d6cd7.ngrok.io)
# that tunnels requests to web server running locally on your own computer at a given port
# ngrok (https://ngrok.com/) should be installed on your computer
USE_NGROK_TUNNEL=true
# SSL Certificate (Self Signed or Registered)
# Make a directory called certs on the root of the project - `mkdir certs`
# Change to certs directory - `cd certs`
# Create and Install certificates - `openssl req -nodes -new -x509 -keyout example.key -out example.crt -days 365 -subj '/CN=example.com/O=My Company Name LTD./C=US'; cat example.crt > example.ca-bundle`
# run the server on http or https
LISTEN_SSL=
#Set the Called Id - the virtual number that has been bought and attached to the project.
FROM=
#Set the Number the call to be bridged after orig call is connected
BRIDGETO=
# use the certificate .key [self signed or registered]
CERTIFICATE_SSL_KEY=./certs/example.key
# use the certificate .crt [self signed or registered]
CERTIFICATE_SSL_CERT=./certs/example.crt
# use the certificate CA[chain] [self signed or registered]
CERTIFICATE_SSL_CACERTS=./certs/example.ca-bundle