-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
52 lines (47 loc) · 1.93 KB
/
.env.example
File metadata and controls
52 lines (47 loc) · 1.93 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
# FlowEngine Portal - Environment Configuration
#
# EASIEST: Run ./setup.sh to auto-generate a .env with all secrets.
#
# Or copy this file to .env.local and configure manually.
# Most settings (n8n, Stripe, SMTP, AI) are configured
# in the Portal Settings UI after first login, not here.
# ===========================================
# REQUIRED - Supabase (Auth + Database)
# ===========================================
NEXT_PUBLIC_SUPABASE_URL=https://xxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...
SUPABASE_SERVICE_ROLE_KEY=eyJ...
# ===========================================
# REQUIRED - Application URL
# ===========================================
NEXT_PUBLIC_APP_URL=http://localhost:3000
# ===========================================
# REQUIRED - Encryption Secret
# ===========================================
# Used to encrypt Stripe API keys and SMTP passwords stored in the database.
# Generate with: openssl rand -base64 32
# WARNING: Changing this after data is stored will break decryption.
ENCRYPTION_SECRET=your-32-byte-secret-here
# ===========================================
# OPTIONAL - For Docker Compose self-hosting
# ===========================================
# See docker-compose.yml and .env.docker for the full
# self-hosted setup with Supabase included.
#
# When using Docker Compose, these are set automatically:
# NEXT_PUBLIC_SUPABASE_URL = http://localhost:8000
# NEXT_PUBLIC_SUPABASE_ANON_KEY = (from .env.docker)
# SUPABASE_SERVICE_ROLE_KEY = (from .env.docker)
# ===========================================
# All other settings are configured in the portal:
# Portal > Settings > Platform
#
# - n8n Connection (URL + API Key)
# - AI Provider (OpenRouter or any OpenAI-compatible API)
# - Stripe Integration (API Key)
# - Custom SMTP (Email Settings)
# - Admin Email
#
# Env vars still work as fallbacks if the portal
# settings table is empty. See portalSettings.ts.
# ===========================================