forked from fonoster/fonoster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example.dev
98 lines (83 loc) · 3.28 KB
/
.env.example.dev
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
# General config
DOCKER_HOST_ADDRESS=/* Host address where the docker containers are running */
APP_URL=http://localhost:8080
LOGS_DRIVER_HOST=localhost
LOGS_LEVEL=verbose
LOGS_TRANSPORT=none
LOGS_FORMAT=json
# Initial location owner credentials
# The server will create a new owner if the email does not exist
# The password will be updated if the email exists
OWNER_NAME=Admin User
OWNER_EMAIL=admin@fonoster.local
OWNER_PASSWORD=changeme
# Identity Config
IDENTITY_PRIVATE_KEY_PATH=.keys/private.pem
IDENTITY_PUBLIC_KEY_PATH=.keys/public.pem
IDENTITY_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/fnidentity
IDENTITY_WORKSPACE_INVITATION_URL=http://localhost:8449/api/identity/accept-invite
IDENTITY_WORKSPACE_INVITATION_FAIL_URL=http://localhost:8080/invite-fail
# Uncomment to enable OAuth2 with Github
# IDENTITY_OAUTH2_GITHUB_ENABLED=true
# IDENTITY_OAUTH2_GITHUB_CLIENT_ID=your-github-client-id
# IDENTITY_OAUTH2_GITHUB_CLIENT_SECRET=your-github-client-secret
# Uncomment to enable user verification
# IDENTITY_USER_VERIFICATION_REQUIRED=true
# SMTP config
SMTP_HOST=localhost
SMTP_PORT=1025
SMTP_SECURE=false
SMTP_AUTH_USER=postmaster@fonoster.local
SMTP_AUTH_PASS=secret
SMTP_SENDER="Fonoster Info <info@fonoster.local>"
# Twilio Config (Required if user verification is enabled)
# TWILIO_ACCOUNT_SID=your-twilio-account-sid
# TWILIO_AUTH_TOKEN=your-twilio-auth-token
# TWILIO_PHONE_NUMBER=your-twilio-phone-number
# Database and encryption config
# Create a new encryption key with cloack (https://cloack.47ng.com)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/fonoster
CLOAK_ENCRYPTION_KEY=k1.aesgcm256.MmPSvzCG9fk654bAbl30tsqq4h9d3N4F11hlue8bGAY=
# InfluxDB config
INFLUXDB_URL=http://localhost:8086
INFLUXDB_INIT_USERNAME=influxdb
INFLUXDB_INIT_PASSWORD=changeme
INFLUXDB_INIT_ORG=fonoster
INFLUXDB_INIT_BUCKET=calls
INFLUXDB_INIT_TOKEN=ghjNQ59FW4oi3bAiMTtfMyVnqtbwq0Iib58D63Lgk3pcrEFFPT0d9tnRKzHk98HNqZJUPc_mpXVkk07_JhBhJg==
# NATS config
NATS_URL=nats://localhost:4222
# Routr config
ROUTR_RTPENGINE_HOST=rtpengine
ROUTR_DATABASE_URL=postgresql://postgres:postgres@postgres:5432/routr
ROUTR_API_ENDPOINT=localhost:51907
# Asterisk config
ASTERISK_ARI_PROXY_URL=http://localhost:8088
ASTERISK_ARI_USERNAME=ari
ASTERISK_ARI_SECRET=changeme
ASTERISK_SIPPROXY_HOST=/* Host address where the docker containers are running */
ASTERISK_SIPPROXY_PORT=5060
ASTERISK_SIPPROXY_USERNAME=voice
ASTERISK_SIPPROXY_SECRET=changeme
ASTERISK_RTP_PORT_START=20000
ASTERISK_RTP_PORT_END=20100
ASTERISK_DTMF_MODE=auto_info
ASTERISK_CODECS=g722,ulaw,alaw
# Uncomment to enable knowledge base
# If enabled, you must provide an AWS S3 bucket and an Unstructured API key
# KNOWLEDGE_BASE_ENABLED=true
# AWS_S3_ACCESS_KEY_ID=your-aws-s3-access-key
# AWS_S3_SECRET_ACCESS_KEY=your-aws-s3-secret-access-key
# AWS_S3_ENDPOINT=http://minio:9000
# AWS_S3_REGION=us-east-1
# UNSTRUCTURED_API_KEY=your-unstructured-api-key
# UNSTRUCTURED_API_URL=http://localhost:8080/api/unstructured
# Needed to support OpenAI embeddings
OPENAI_API_KEY=your-openai-api-key
# Only needed for development
INTEGRATIONS_FILE=./config/integrations.json
# Uncomment to enable custom email and sms templates
# If not set, the default templates will be used
# TEMPLATES_DIR=/path/to/email/templates