forked from fonoster/fonoster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
86 lines (82 loc) · 2.77 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
##
# Shared Configuration
##
DOCKER_HOST_ADDRESS=
GRPC_ALLOW_INSECURE=true
LOGS_LEVEL=info
LOGS_TRANSPORT=none
LOGS_DRIVER_HOST=fluent
LOGS_AGGREGRATOR_HOST=elasticsearch
##
# Web UI Configuration
##
NEXTAUTH_URL=http://localhost:8181
WEBUI_APP_URL=http://localhost:8181
WEBUI_APISERVER_ENDPOINT=apiserver:50052
WEBUI_GITHUB_CLIENT_ID=09ae6a73c171c39d4924
WEBUI_GITHUB_CLIENT_SECRET=changeme
WEBUI_TEST_PHONE_DOMAIN=sip.local
WEBUI_TEST_PHONE_SERVER=ws://localhost:5062
WEBUI_TEST_PHONE_USERNAME=testacct
WEBUI_TEST_PHONE_SECRET=changeme
WEBUI_TEST_PHONE_DISPLAY_NAME="ACCT Test"
WEBUI_BILLING_URL=https://console.fonoster.io/billing
WEBUI_FEEDBACK_URL=https://docs.google.com/forms/d/e/1FAIpQLSd1G2ahRYqkbksOvz7XhNHfSLepUh3KzRHsXh2HXfZr68nhtQ/viewform?usp=sf_link
##
# API Server Configuration
##
APISERVER_AUTOPILOT_URL=http://apiserver:6445
APISERVER_AUTOPILOT_MEDIA_BUSY_MESSAGE='<media end="7s"><audio src="https://storage.googleapis.com/fonoster/sounds/busytone.mp3"/></media>'
APISERVER_AUTOPILOT_MEDIA_NOANSWER_MESSAGE='<media end="7s"><audio src="https://storage.googleapis.com/fonoster/sounds/busytone.mp3"/></media>'
APISERVER_ENDPOINT=apiserver:50052
APISERVER_ROUTR_API_HOST=routr
APISERVER_ROUTR_API_USERNAME=admin
APISERVER_ROUTR_API_SECRET=changeme
APISERVER_ROUTR_DEFAULT_PEER_USERNAME=voice
APISERVER_ROUTR_DEFAULT_PEER_SECRET=changeme
APISERVER_ASTERISK_ARI_INTERNAL_URL=http://asterisk:8088
APISERVER_ASTERISK_ARI_USERNAME=ari
APISERVER_ASTERISK_ARI_SECRET=changeme
APISERVER_VAULT_ADDR=http://vault:8200
APISERVER_VAULT_TOKEN=changeme
APISERVER_VAULT_UNSEAL_KEY=changeme
APISERVER_S3_SERVER_HOST=minio
APISERVER_S3_SERVER_USERNAME=minio
APISERVER_S3_SERVER_SECRET=changeme
APISERVER_S3_SERVER_USE_SSL=false
APISERVER_JWT_AUTH_ISS=fonoster
APISERVER_JWT_PRIVATE_KEY=4e5f5aa678968f0a2ea43c5d5aaf5220
APISERVER_RBAC_CONFIG=/opt/fonoster/etc/rbac.json
APISERVER_REDIS_HOST=redis
##
# Asterisk Configuration
##
ASTERISK_ARI_PROXY_URL=https://api.fonoster.io
ASTERISK_ARI_USERNAME=ari
ASTERISK_ARI_SECRET=changeme
ASTERISK_SIPPROXY_HOST= /* User Routr's external IP */
ASTERISK_SIPPROXY_USERNAME=voice
ASTERISK_SIPPROXY_SECRET=changeme
ASTERISK_RTP_PORT_START=10000
ASTERISK_RTP_PORT_END=20000
##
# Routr Configuration
#
# If the network mode for RTPEngine is "host", use host.docker.internal
# as the value for ROUTR_RTPENGINE_HOST
##
ROUTR_INITIAL_API_SECRET=changeme
ROUTR_BIND_ADDR=0.0.0.0
ROUTR_LOCALNETS=8.8.8.8
ROUTR_DATA_SOURCE_PROVIDER=redis_data_provider
ROUTR_DATA_SOURCE_PARAMETERS=host=redis,port=6379
ROUTR_RECORD_ROUTE=true
ROUTR_REGISTRAR_INTF=Internal
ROUTR_REST_SERVICE_MIN_THREADS=8
ROUTR_REST_SERVICE_MAX_THREADS=8
ROUTR_RTPENGINE_ENABLED=true
ROUTR_RTPENGINE_HOST=rtpengine
ROUTR_RTPENGINE_PORT=8080
ROUTR_RTPENGINE_PROTO=http
ROUTR_CONVERT_TEL_TO_E164=true
ROUTR_JAVA_OPTS='-XX:NewRatio=2 -Xmx2200M'