ServFlow Pro is configured using a TOML file. This reference covers all available configuration options for running ServFlow in development and production environments.Documentation Index
Fetch the complete documentation index at: https://docs.servflow.io/llms.txt
Use this file to discover all available pages before exploring further.
Server Configuration
The[server] section configures the main API server that handles incoming requests to your workflows.
| Field | Environment Variable | Default | Description |
|---|---|---|---|
port | SERVFLOW_SERVER_PORT | 8080 | Port for the API server |
config_folder | SERVFLOW_SERVER_CONFIG_FOLDER | — | Required. Directory containing API configuration files |
engine_config_file | SERVFLOW_SERVER_ENGINE_CONFIG_FILE | — | Path to engine integrations YAML file |
env | SERVFLOW_SERVER_ENV | production | Environment mode (production or development) |
The
config_folder is the only required configuration. ServFlow will use sensible defaults for all other settings.Dashboard Configuration
The[dashboard] section configures the web dashboard interface for building and managing APIs visually.
| Field | Environment Variable | Default | Description |
|---|---|---|---|
port | SERVFLOW_DASHBOARD_PORT | 3000 | Port for the dashboard server |
configs_folder | SERVFLOW_DASHBOARD_CONFIGS_FOLDER | Same as server.config_folder | Directory for dashboard config storage |
master_key | SERVFLOW_DASHBOARD_MASTER_KEY | — | Master encryption key for secrets (required for secrets management) |
SQLite Configuration
The[sqlite] section configures persistent storage for secrets, OAuth tokens, and metrics.
| Field | Environment Variable | Default | Description |
|---|---|---|---|
path | SERVFLOW_SQLITE_PATH | ./database.db | Path to SQLite database file |
If the
path is empty or the [sqlite] section is omitted, ServFlow falls back to file-based storage with reduced functionality. See Secrets Management for details on what features require SQLite.Tracing Configuration
The[tracing] section configures OpenTelemetry distributed tracing for debugging and monitoring your API workflows.
| Field | Environment Variable | Default | Description |
|---|---|---|---|
enabled | SERVFLOW_TRACING_ENABLED | false | Enable OpenTelemetry tracing |
service_name | SERVFLOW_TRACING_SERVICE_NAME | — | Service name for trace identification |
org_id | SERVFLOW_TRACING_ORG_ID | — | Organization ID for multi-tenant collectors |
collector_endpoint | SERVFLOW_TRACING_COLLECTOR_ENDPOINT | — | OTLP collector endpoint URL |
Complete Example
Here’s a complete configuration file with all available options:Environment Variable Overrides
Environment variables take precedence over values in the TOML file. This is useful for:- Production deployments — Keep secrets out of configuration files
- Container environments — Configure via Docker/Kubernetes environment variables
- CI/CD pipelines — Override settings per environment
Next Steps
Local Environment Setup
Set up ServFlow Pro for local development with detailed configuration examples.
Secrets Management
Learn how to securely manage API keys and credentials.
Installation
Deploy ServFlow Pro to your infrastructure.
Quickstart
Build your first API with ServFlow.