-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
239 lines (188 loc) · 6.67 KB
/
.env.example
File metadata and controls
239 lines (188 loc) · 6.67 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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
# =============================================================================
# NetSendo - Environment Configuration
# =============================================================================
# Copy this file to .env and configure for your environment
# For Docker: Most settings are pre-configured, just set APP_KEY and DB_PASSWORD
# =============================================================================
# Application Settings
# =============================================================================
APP_NAME=NetSendo
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost:5029
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
# =============================================================================
# Database Configuration (Docker)
# =============================================================================
DB_CONNECTION=mysql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=netsendo_prod
DB_USERNAME=netsendo_user
DB_PASSWORD=root
# Disable SSL for mysqldump (backup feature).
# MySQL 8.0 uses self-signed SSL certificates by default, which causes
# "TLS/SSL error" during database backups. Set to true only if your
# MySQL server uses a trusted CA-signed certificate.
MYSQL_DUMP_SSL=false
# =============================================================================
# Session & Cache
# =============================================================================
SESSION_DRIVER=redis
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
# =============================================================================
# Broadcasting & Queue
# =============================================================================
BROADCAST_CONNECTION=reverb
FILESYSTEM_DISK=local
QUEUE_CONNECTION=redis
# =============================================================================
# Laravel Reverb (WebSocket Server)
# =============================================================================
# Required for real-time features: Live Visitors, notifications, etc.
# The reverb container runs on port 8085 inside Docker
# Backend configuration (for PHP/Laravel)
REVERB_APP_ID=netsendo
REVERB_APP_KEY=netsendo-reverb-key
REVERB_APP_SECRET=netsendo-reverb-secret
REVERB_HOST=reverb
REVERB_PORT=8085
REVERB_SCHEME=http
REVERB_SERVER_HOST=0.0.0.0
REVERB_SERVER_PORT=8085
# Frontend configuration (for browser/Vite)
# VITE_REVERB_HOST should be 'localhost' for local development
# or your domain for production
VITE_REVERB_APP_KEY="${REVERB_APP_KEY}"
VITE_REVERB_HOST=localhost
VITE_REVERB_PORT=8085
VITE_REVERB_SCHEME=http
# =============================================================================
# Cache & Redis
# =============================================================================
CACHE_STORE=redis
CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
# =============================================================================
# Mail Configuration
# =============================================================================
MAIL_MAILER=smtp
MAIL_SCHEME=null
MAIL_HOST=mailpit
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"
# =============================================================================
# AWS (Optional)
# =============================================================================
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
# =============================================================================
# Vite
# =============================================================================
VITE_APP_NAME="${APP_NAME}"
# =============================================================================
# Google OAuth (Gmail API)
# =============================================================================
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URI="${APP_URL}/settings/mailboxes/gmail/callback"
# =============================================================================
# SMS Providers (Optional - can also be configured via UI)
# =============================================================================
# Twilio
TWILIO_ACCOUNT_SID=
TWILIO_AUTH_TOKEN=
TWILIO_FROM_NUMBER=
# SMS API (smsapi.pl)
SMSAPI_TOKEN=
SMSAPI_FROM_NAME=
# Vonage (Nexmo)
VONAGE_API_KEY=
VONAGE_API_SECRET=
VONAGE_FROM_NAME=
# MessageBird
MESSAGEBIRD_ACCESS_KEY=
MESSAGEBIRD_FROM_NAME=
# Plivo
PLIVO_AUTH_ID=
PLIVO_AUTH_TOKEN=
PLIVO_FROM_NUMBER=
# =============================================================================
# Payment Integration
# =============================================================================
# Stripe
STRIPE_KEY=
STRIPE_SECRET=
STRIPE_WEBHOOK_SECRET=
# =============================================================================
# AI Integration (Optional)
# =============================================================================
# OpenAI (GPT models)
OPENAI_API_KEY=
# Anthropic (Claude models)
ANTHROPIC_API_KEY=
# Google AI (Gemini models)
GOOGLE_AI_API_KEY=
# =============================================================================
# MCP Server (Model Context Protocol for AI Assistants)
# =============================================================================
# Enables AI assistants (Claude Desktop, Cursor, VS Code) to interact with NetSendo
# Generate an API key in NetSendo: Settings → API Keys
MCP_API_KEY=
# =============================================================================
# NMI - NetSendo Mail Infrastructure (Optional)
# =============================================================================
# Professional email sending with dedicated IPs, IP warming, DKIM, and blacklist monitoring
# Requires Docker profile: docker compose --profile nmi up -d
# Full docs: docs/NMI.md
# Master switch - set to true to enable NMI features in UI
NMI_ENABLED=false
# MTA Connection (Haraka container)
NMI_MTA_HOST=netsendo-mta
NMI_MTA_PORT=25
NMI_MTA_ENCRYPTION=none
# IP Warming
NMI_WARMING_DAYS=28
NMI_WARMING_AUTO_ADVANCE=true
# DKIM Configuration
NMI_DKIM_KEY_SIZE=2048
NMI_DKIM_ROTATION_MONTHS=6
NMI_DKIM_AUTO_ROTATE=false
# Blacklist Monitoring
NMI_BLACKLIST_CHECK_HOURS=24
NMI_BLACKLIST_ALERT=true
# Reputation Thresholds
NMI_REPUTATION_PAUSE=50
NMI_REPUTATION_WARNING=70
NMI_MAX_BOUNCE_RATE=5
NMI_MAX_COMPLAINT_RATE=0.1
# IP Providers (Optional - for auto-provisioning, future feature)
# NMI_VULTR_ENABLED=false
# NMI_VULTR_API_KEY=
# NMI_LINODE_ENABLED=false
# NMI_LINODE_API_KEY=
# NMI_DO_ENABLED=false
# NMI_DO_API_KEY=