Configuration
Apr 10, 2026
5 min read
This page documents all configuration options for Mule, including CLI flags, environment variables, and runtime settings.
CLI Flags
Mule’s API server supports the following command-line flags:
-db
PostgreSQL connection string for the database.
mule-api -db "postgres://user:password@localhost:5432/mule?sslmode=disable"Default: postgres://user:pass@localhost:5432/mule?sslmode=disable
Format: postgres://user:password@host:port/database?options
Options:
| Option | Description | Default |
|---|---|---|
sslmode | SSL connection mode | disable |
connect_timeout | Connection timeout in seconds | 10 |
Example with SSL:
mule-api -db "postgres://user:pass@localhost:5432/mule?sslmode=require"-listen
HTTP listen address for the API server.
Read Article