.env file or passed directly to the Docker container.
Core Configuration
Port
The port number on which Flowise will run.
Database Configuration
Flowise supports SQLite (default) and PostgreSQL databases.Path to store the SQLite database file (only for SQLite).
Database type to use. Options:
sqlite or postgres.Database host (PostgreSQL only).
Database port (PostgreSQL only).
Database name (PostgreSQL only).
Database user (PostgreSQL only).
Database password (PostgreSQL only).
Enable SSL for database connection (PostgreSQL only).
Self-signed certificate in BASE64 format for SSL connection.
Secret Keys Management
Flowise can store encryption keys locally or in AWS Secrets Manager.Storage type for secret keys. Options:
local or aws.Path to store secret keys (when using local storage).
Override the encryption key with a custom value.
AWS Secrets Manager
AWS access key for Secrets Manager.
AWS secret key for Secrets Manager.
AWS region for Secrets Manager.
Name for the encryption key in AWS Secrets Manager.
Logging
Enable debug mode for verbose logging.
Path to store log files.
Logging level. Options:
error, warn, info, verbose, debug.Comma-separated list of fields to sanitize in request body logs.
Comma-separated list of headers to sanitize in logs.
Storage Configuration
Configure where Flowise stores uploaded files and documents.Storage backend for files. Options:
local, s3, gcs, azure.Local path for file storage (when STORAGE_TYPE=local).
AWS S3 Storage
S3 bucket name for file storage.
AWS access key ID for S3.
AWS secret access key for S3.
AWS region for S3 bucket.
Custom S3 endpoint URL (for S3-compatible services).
Force path-style URLs for S3 (required for some S3-compatible services).
Google Cloud Storage
Path to GCP service account key file.
GCP project ID.
GCS bucket name for file storage.
Enable uniform bucket-level access.
Azure Blob Storage
Azure Blob Storage connection string.
Azure storage account name.
Azure storage account key.
Azure container name for file storage.
Application Settings
Number of proxies in front of Flowise (for proper IP detection).
Comma-separated list of allowed CORS origins.
Comma-separated list of allowed iframe origins.
Maximum file upload size.
Show community-contributed nodes in the UI.
Disable anonymous telemetry collection.
Comma-separated list of node names to disable.
Path to custom model list configuration file.
Authentication
Base URL of your Flowise instance (required for authentication).
JWT Configuration
Secret key for JWT authentication tokens.
Secret key for JWT refresh tokens.
JWT token issuer identifier.
JWT token audience identifier.
JWT access token expiry time in minutes (default: 6 hours).
JWT refresh token expiry time in minutes (default: 30 days).
Expire all authentication tokens when the app restarts.
Session & Security
Secret key for Express sessions.
Secret key for hashing tokens.
Enable secure cookies (HTTPS only).
Number of bcrypt salt rounds for password hashing.
Password reset token expiry time in minutes.
Email Configuration
Required for password reset and invitation emails.SMTP server hostname.
SMTP server port.
SMTP authentication username.
SMTP authentication password.
Use TLS for SMTP connection.
Allow unauthorized SSL certificates (for testing only).
Email address used as sender.
Queue Configuration
Configure BullMQ for distributed job processing.Operating mode. Options:
queue or main.Name of the job queue.
Full Redis connection URL (alternative to individual Redis settings).
Redis server hostname.
Redis server port.
Redis authentication username.
Redis authentication password.
Maximum number of concurrent workers.
Enable BullMQ dashboard for monitoring.
Security
Enable HTTP security checks.
Comma-separated list of blocked HTTP hosts.
Enable security checks for custom MCP protocols.
Custom MCP protocol type. Options:
stdio or sse.Trust proxy headers for IP detection.
Proxy Configuration
HTTP proxy URL for outbound requests.
HTTPS proxy URL for outbound requests.
Comma-separated list of hosts to bypass proxy.
Metrics & Telemetry
Enable metrics collection.
Metrics provider. Options:
prometheus or open_telemetry.Include Node.js process metrics.
Service name for metrics.
OpenTelemetry
OpenTelemetry metrics endpoint URL.
OpenTelemetry protocol. Options:
http, grpc, or proto.Enable OpenTelemetry debug logging.
Enterprise Features
Enterprise Edition license key.
License validation server URL.
Enable offline mode (no internet connection required).
Workspace invitation token expiry time in hours.
Custom Tool Dependencies
Comma-separated list of allowed built-in Node.js modules.
Comma-separated list of allowed external npm packages.
Allow all built-in Node.js modules.
Document Loaders
Path to Chromium/Chrome executable for Puppeteer.
Path to Chromium/Chrome executable for Playwright.
Example Configuration
Here’s a complete example.env file for a production deployment:
.env
Next Steps
Docker Deployment
Deploy Flowise using Docker
Authentication
Configure authentication and security
Cloud Providers
Deploy to cloud platforms
