Server Configuration
Port number for the Flowise server to listen on
Base URL of your Flowise application, used for generating links in emails and SSO callbacks
Number of proxies between client and server. Used for proper IP address resolution
Trust proxy configuration for Express. Can be
true, false, 1, loopback, linklocal, uniquelocal, IP addresses, or comma-separated combinationsComma-separated list of allowed CORS origins. Use
* to allow all originsComma-separated list of allowed iframe origins. Use
* to allow all originsMaximum file upload size (e.g.,
50mb, 100mb)Database Configuration
Flowise supports SQLite (default), PostgreSQL, MySQL, and MariaDB.Database type. Options:
sqlite, postgres, mysql, mariadbPath where the SQLite database file will be stored. Only used when
DATABASE_TYPE=sqlitePostgreSQL / MySQL / MariaDB Configuration
Database server hostname or IP address
Database server port
Name of the database to use
Database username
Database password
Database SSL Configuration
Enable SSL connection to database
Whether to reject unauthorized SSL certificates
Self-signed SSL certificate in BASE64 format for database connection
Authentication & Security
Basic Authentication
Username for basic HTTP authentication (legacy)
Password for basic HTTP authentication (legacy)
JWT Configuration
Secret key for signing JWT access tokens. Generate with:
openssl rand -hex 32If not set, uses file-based or AWS Secrets Manager storageSecret key for signing JWT refresh tokens. Generate with:
openssl rand -hex 32If not set, uses file-based or AWS Secrets Manager storageJWT issuer claim value
JWT audience claim value
Access token expiration time in minutes (default: 6 hours)
Refresh token expiration time in minutes (default: 30 days)
Expire all authentication tokens when the application restarts
Session & Token Security
Secret for Express session signing. Generate with:
openssl rand -hex 32If not set, uses file-based or AWS Secrets Manager storageSecret for hashing tokens. Generate with:
openssl rand -hex 32If not set, uses file-based or AWS Secrets Manager storageEnable secure flag on cookies (recommended for HTTPS deployments)
Workspace invitation token expiration time in hours
Password reset token expiration time in minutes
Number of bcrypt salt rounds for password hashing
Secret Key Storage
Storage type for encryption keys and auth secrets. Options:
local, awsLocal filesystem path for storing encryption keys and auth secrets when using
local storageOverride the encryption key with a specific value (not recommended for production)
AWS Secrets Manager Configuration
Required whenSECRETKEY_STORAGE_TYPE=aws:
AWS access key ID for Secrets Manager
AWS secret access key for Secrets Manager
AWS region for Secrets Manager
Name of the secret in AWS Secrets Manager for the main encryption key
Prefix for auth secret names in AWS Secrets Manager (e.g.,
FlowiseTokenHashSecret)Email Configuration (SMTP)
SMTP server hostname (e.g.,
smtp.gmail.com)SMTP server port
SMTP authentication username
SMTP authentication password
Use TLS for SMTP connection
Allow self-signed certificates for SMTP
From email address for sent emails (e.g.,
[email protected])Path to custom workspace invitation email template (Handlebars format)
Logging Configuration
Enable debug mode with verbose logging
Directory path for storing log files
Logging level. Options:
error, warn, info, verbose, debugComma-separated list of request body field names to sanitize in logsDefault:
password,pwd,pass,secret,token,apikey,api_key,accesstoken,access_token,refreshtoken,refresh_token,clientsecret,client_secret,privatekey,private_key,secretkey,secret_key,auth,authorization,credential,credentialsComma-separated list of HTTP header names to sanitize in logs
Storage Configuration
See Storage Configuration for detailed storage setup.File storage type. Options:
local, s3, gcsLocal filesystem path for file storage when using
local storage typeApplication Features
Show community-contributed nodes in the UI
Disable anonymous usage telemetry
Comma-separated list of node names to disable (e.g.,
bufferMemory,chatOpenAI)Path to custom model list configuration JSON fileSee models.json format
Comma-separated list of built-in Node.js modules allowed in tool functions
Comma-separated list of external npm packages allowed in tool functions (e.g.,
moment,lodash)Allow all built-in Node.js modules in tool functions
Enterprise Features
URL for enterprise license server
Enterprise edition license key
Run in offline mode (no external license validation)
Metrics & Monitoring
PostHog API key for product analytics
Enable metrics collection
Metrics provider. Options:
prometheus, open_telemetryInclude Node.js runtime metrics
Service name for metrics reporting
OpenTelemetry Configuration
Required whenMETRICS_PROVIDER=open_telemetry:
OpenTelemetry metrics endpoint URL
OpenTelemetry protocol. Options:
http, grpc, protoEnable debug logging for OpenTelemetry
Proxy Configuration
HTTP proxy URL for outbound requests (e.g.,
http://proxy.company.com:8080)HTTPS proxy URL for outbound requests
Comma-separated list of hosts to bypass proxy
Queue Configuration
For distributed deployments with Redis-backed job queues:Application mode. Options:
queue, mainmain: Standard server modequeue: Worker mode for processing jobs from Redis queue
Redis queue name
Maximum length of Redis event stream
Maximum concurrent jobs per worker
Remove completed jobs after this many seconds (default: 24 hours)
Remove jobs after this count is reached
Redis Configuration
Complete Redis connection URL (e.g.,
redis://localhost:6379)If set, takes precedence over individual REDIS_* settingsRedis server hostname
Redis server port
Redis username (Redis 6+)
Redis password
Enable TLS for Redis connection
Path to TLS certificate file
Path to TLS private key file
Path to TLS CA certificate file
TCP keep-alive interval in milliseconds
Enable BullMQ dashboard UI for queue monitoring
Security
Comma-separated list of URLs or patterns to block in HTTP requests
Enable HTTP security checks for outbound requests
Enable security checks for MCP (Model Context Protocol) servers
MCP protocol type. Options:
stdio, sseDocument Loaders
Path to Chrome/Chromium executable for Puppeteer document loaderExample (Windows):
C:\\Program Files\\Google\\Chrome\\Application\\chrome.exePath to Chrome/Chromium executable for Playwright document loaderExample (Windows):
C:\\Program Files\\Google\\Chrome\\Application\\chrome.exeExample Configuration
For production deployments, always generate secure random values for secret keys using
openssl rand -hex 32