forked from fonoster/fonoster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example.dev
More file actions
151 lines (140 loc) Β· 5.83 KB
/
.env.example.dev
File metadata and controls
151 lines (140 loc) Β· 5.83 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
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
# General Notes
# -------------
#
# For development environments, you must set the following environment variables:
#
# - DOCKER_HOST_ADDRESS (Your external address)
# - ROUTR_EXTERNAL_ADDRS (Your external address)
# - ROUTR_RTPENGINE_HOST (Your external address)
# - ASTERISK_SIPPROXY_HOST (Your external address)
# - APISERVER_ROUTR_API_ENDPOINT (localhost:51907)
DOCKER_HOST_ADDRESS=/* Your external address */
# Dashboard Settings
# -----------------
# Set the DASHBOARD_API_URL to the url of your apiserver, optionally set the DASHBOARD_ALLOW_INSECURE if the APISERVER is not using SSL
DASHBOARD_EDITION=community
DASHBOARD_API_URL=http://localhost:8449
DASHBOARD_ALLOW_INSECURE=true
DASHBOARD_AUTH_GITHUB_ENABLED=false
SERVER_DASHBOARD_SESSION_SECRET=9c9e47da019d109bf40e110004c54dab9fa05c411951d7f18a39baa2cc9f6996
# API Server Settings
# ------------------
# The owner email and password are used to create the initial administrator user.
# The server will create a new owner if the email does not exist.
# The password will be updated if the email already exists.
APISERVER_APP_URL=http://localhost:8080
APISERVER_ASTERISK_ARI_PROXY_URL=http://localhost:8088
APISERVER_ASTERISK_ARI_SECRET=changeme
APISERVER_ASTERISK_ARI_USERNAME=ari
APISERVER_CLOAK_ENCRYPTION_KEY=k1.aesgcm256.MmPSvzCG9fk654bAbl30tsqq4h9d3N4F11hlue8bGAY=
APISERVER_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/fonoster
APISERVER_IDENTITY_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/fnidentity
APISERVER_IDENTITY_ISSUER=http://fonoster.local
APISERVER_IDENTITY_OAUTH2_GITHUB_CLIENT_ID=
APISERVER_IDENTITY_OAUTH2_GITHUB_CLIENT_SECRET=
APISERVER_IDENTITY_OAUTH2_GITHUB_ENABLED=false
APISERVER_IDENTITY_WORKSPACE_INVITE_FAIL_URL=http://localhost:8080/invite-fail
APISERVER_IDENTITY_WORKSPACE_INVITE_URL=http://localhost:8449/api/identity/accept-invite
APISERVER_IDENTITY_WORKSPACE_INVITE_EXPIRATION=1d
APISERVER_IDENTITY_CONTACT_VERIFICATION_REQUIRED=false
APISERVER_IDENTITY_TWO_FACTOR_AUTHENTICATION_REQUIRED=false
APISERVER_IDENTITY_PRIVATE_KEY_PATH=.keys/private.pem
APISERVER_IDENTITY_PUBLIC_KEY_PATH=.keys/public.pem
APISERVER_INFLUXDB_INIT_ORG=fonoster
APISERVER_INFLUXDB_INIT_PASSWORD=changeme
APISERVER_INFLUXDB_INIT_TOKEN=ghjNQ59FW4oi3bAiMTtfMyVnqtbwq0Iib58D63Lgk3pcrEFFPT0d9tnRKzHk98HNqZJUPc_mpXVkk07_JhBhJg==
APISERVER_INFLUXDB_INIT_USERNAME=influxdb
APISERVER_INFLUXDB_URL=http://localhost:8086
APISERVER_INTEGRATIONS_FILE=./config/integrations.json
APISERVER_LOGS_FORMAT=json
APISERVER_LOGS_LEVEL=verbose
APISERVER_LOGS_TRANSPORT=none
APISERVER_NATS_URL=nats://localhost:4222
APISERVER_OWNER_EMAIL=admin@fonoster.local
APISERVER_OWNER_NAME=Admin User
APISERVER_OWNER_PASSWORD=changeme
APISERVER_ROOT_DOMAIN=fonoster.local
APISERVER_ROUTR_API_ENDPOINT=localhost:51907
APISERVER_SMTP_AUTH_PASS=secret
APISERVER_SMTP_AUTH_USER=postmaster@fonoster.local
APISERVER_SMTP_HOST=localhost
APISERVER_SMTP_PORT=1025
APISERVER_SMTP_SECURE=false
APISERVER_SMTP_SENDER="Fonoster Info <info@fonoster.local>"
APISERVER_SIGNALING_SERVER=ws://localhost:5062
APISERVER_TWILIO_ACCOUNT_SID=
APISERVER_TWILIO_AUTH_TOKEN=
APISERVER_TWILIO_PHONE_NUMBER=
# Autopilot Settings
# -----------------
# The Knowledge Base feature requires an S3-compatible storage service.
# OpenAI API and Unstructured API keys are also required to enable this feature.
#
# The Knowledge Base feature is disabled by default due to its multiple integrations.
# Please consult the documentation for details on how to enable it.
AUTOPILOT_AWS_S3_ACCESS_KEY_ID=
AUTOPILOT_AWS_S3_ENDPOINT=
AUTOPILOT_AWS_S3_REGION=us-east-1
AUTOPILOT_AWS_S3_SECRET_ACCESS_KEY=
AUTOPILOT_CONVERSATION_PROVIDER=file
AUTOPILOT_INTEGRATIONS_FILE=./config/integrations.json
AUTOPILOT_KNOWLEDGE_BASE_ENABLED=false
AUTOPILOT_LOGS_FORMAT=none
AUTOPILOT_LOGS_LEVEL=verbose
AUTOPILOT_LOGS_TRANSPORT=none
AUTOPILOT_OPENAI_API_KEY=
AUTOPILOT_UNSTRUCTURED_API_KEY=
AUTOPILOT_UNSTRUCTURED_API_URL=
# Routr Settings
# -------------
# The external address must be configured to an address accessible by all endpoints.
# For local network deployments, this is typically your router's public IP address.
# For cloud deployments, this is typically the public IP address of your cloud instance.
ROUTR_DATABASE_URL=postgresql://postgres:postgres@postgres:5432/routr
ROUTR_EXTERNAL_ADDRS=/* Your external address */
ROUTR_LOGS_FORMAT=none
ROUTR_LOGS_LEVEL=verbose
ROUTR_LOGS_TRANSPORT=none
ROUTR_NATS_PUBLISHER_ENABLED=true
ROUTR_NATS_PUBLISHER_URL=nats://nats:4222
ROUTR_RTPENGINE_HOST=rtpengine
# Asterisk Settings
# ----------------
# Note: Set ASTERISK_SIPPROXY_HOST to the same value as ROUTR_EXTERNAL_ADDRS
ASTERISK_ARI_PROXY_URL=http://localhost:8088
ASTERISK_ARI_SECRET=changeme
ASTERISK_ARI_USERNAME=ari
ASTERISK_CODECS=g722,ulaw,alaw
ASTERISK_DTMF_MODE=auto_info
ASTERISK_RTP_PORT_END=20000
ASTERISK_RTP_PORT_START=10000
ASTERISK_SIPPROXY_HOST=/* Your external address */
ASTERISK_SIPPROXY_PORT=5060
ASTERISK_SIPPROXY_SECRET=changeme
ASTERISK_SIPPROXY_USERNAME=voice
# RTP Engine Settings
# ------------------
# Set RTPENGINE_PUBLIC_IP to the same value as ROUTR_EXTERNAL_ADDRS
# Adjust RTPENGINE_PORT_MIN and RTPENGINE_PORT_MAX to define the range for media traffic.
RTPENGINE_PORT_MAX=20000
RTPENGINE_PORT_MIN=10000
RTPENGINE_PUBLIC_IP=/* Your external address */
# InfluxDB Settings
# ----------------
INFLUXDB_INIT_ORG=fonoster
INFLUXDB_INIT_PASSWORD=changeme
INFLUXDB_INIT_TOKEN=ghjNQ59FW4oi3bAiMTtfMyVnqtbwq0Iib58D63Lgk3pcrEFFPT0d9tnRKzHk98HNqZJUPc_mpXVkk07_JhBhJg==
INFLUXDB_INIT_USERNAME=influxdb
# Database Security Configuration
# -----------------------------
# For production environments, we recommend using a managed database service.
POSTGRES_PASSWORD=postgres
POSTGRES_USER=postgres
# MCP Settings
# ------------
MCP_WORKSPACE_ACCESS_KEY_ID=WO00000000000000000000000000000000
MCP_APIKEY_ACCESS_KEY_ID=
MCP_APIKEY_ACCESS_KEY_SECRET=
MCP_ENDPOINT=localhost:50061
MCP_ALLOW_INSECURE=true
NODE_ENV=development