-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.env.example
148 lines (114 loc) · 4.3 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
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
# MOJODEX DIGITAL ASSISTANT PLATFORM - ENVIRONMENT VARIABLES
# This is an example file.
# Make a copy of this file and rename it to ".env" in the root of the project.
# This file contains the environment variables used by the mojodex digital assistant platform.
# Refer to the documentation for more information about the environment variables.
############################################
# Database configuration
############################################
DBHOST=mojodex_db
POSTGRES_DB=your_assistant_db
DBNAME=your_assistant_db
POSTGRES_USER=assistant_db_user
DBUSER=assistant_db_user
POSTGRES_PASSWORD=password
DBPASS=password
############################################
# Environment
############################################
# This is used to manager logs and notification services to admin
ENVIRONMENT=local # can be "production"
LOG_LEVEL=INFO # can be "INFO", "DEBUG", "WARNING", "ERROR"
############################################
# Email service - Optional - If set, used to send emails (to admin and users)
############################################
# AWS SES
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# AWS_SES_REGION=
# CUSTOM SMTP
#SMTP_ADDRESS=
#SMTP_PORT=
#SENDER_PASSWORD=
# SENDER_NAME=
# SENDER_EMAIL=
# Email receivers - Optional - for notifications of the platform to the admin - emails separated by comma
# ADMIN_EMAIL_RECEIVERS=
# TECHNICAL_EMAIL_RECEIVERS=
# PURCHASES_EMAIL_RECEIVERS=
############################################
# Secrets - this is important to set your own and keep them secret
############################################
ENCODING_ALGORITHM=HS256
MOJODEX_SCHEDULER_SECRET=scheduler_secret
FLASK_SECRET_KEY=flask_secret_key
BACKOFFICE_SECRET=backoffice_secret
JWT_SECRET=jwt_secret
MOJODEX_BACKGROUND_SECRET=background_secret
PURCHASE_UPDATER_SOCKETIO_SECRET=purchase_updater_socketio_secret
RESET_PASSWORD_JWT_SECRET=reset_password_jwt_secret
RESET_PASSWORD_SECRET_KEY=reset_password_secret_key
NEXT_AUTH_JWT_SECRET=next_auth_jwt_secret
TOKEN_SECRET_SPLITTER=__mojodex__
MOJODEX_WEBAPP_SECRET=webapp_secret
############################################
# URIs - used to communicate between the services
############################################
# Internal URIs - used to communicate between the services
BACKGROUND_BACKEND_URI=http://mojodex_background:5000
MOJODEX_BACKEND_URI=http://mojodex_backend:5000
# External URIs - used to communicate from the outside to the services, like actions links in the emails
MOJODEX_WEBAPP_URI=http://localhost:3000
# Path to the storage of the users data
USERS_DATA_STORAGE="/data/users"
############################################
# Push Notifications - Optional - If set, used to send push notifications to the users
############################################
#FIREBASE_PROJECT_ID=
#FIREBASE_SERVICE_ACCOUNT=
############################################
# Login
############################################
# Login providers - Optional - If set, used to login with the specified providers
# GOOGLE
#GOOGLE_CLIENT_ID=
#GOOGLE_CLIENT_SECRET=
# MICROSOFT
#MICROSOFT_AD_API_URI=
#AZURE_AD_CLIENT_ID=
#AZURE_AD_CLIENT_SECRET=
# APPLE
#APPLE_ID=
#APPLE_CLIENT_ID=
#APPLE_SECRET=
#APPLE_CLIENT_APP_SECRET=
############################################
# Background configuration
############################################
# Background configuration: uses the following information to proactively work on user tasks
# Daily user notifs time
DAILY_EMAIL_TIME=17
DAILY_NOTIF_TIME=14
DAILY_TODO_EMAIL_TIME=8
############################################
# VOICE INTERACTION CONFIGURATION
############################################
# Optional Speech synthesis - Used to generate voice responses to the user - mainly implemented in the mobile app
## Azure Speech Configuration
#SPEECH_KEY=
#SPEECH_REGION=
# Optional Payment - If set, used to manage payments -- see 'purchase' documentation
# Stripe Configuration
#STRIPE_API_KEY=
#STRIPE_WEBHOOK_SECRET_END_PURCHASE=
#STRIPE_WEBHOOK_SECRET_NEW_PURCHASE=
# Optional Hubspot configuration - If set, used to export data to Hubspot
#HUBSPOT_ACCESS_TOKEN=
############################################
# TOOLS CONFIGURATION
############################################
# Optional Web Searched - Used for tasks with tool google_search
# Serp API Configuration
#SERPAPI_KEY=
# Bing Search API Configuration
#BING_SEARCH_API_KEY=