Server Settings
Server Configuration
The server section controls Conduit's HTTP bind address, port, and default
pagination limit. These values are loaded from your configuration file
(JSON,
YAML,
TOML,
XML).
Server Settings
server:
host: "0.0.0.0"
port: 8080
default_limit: 50
These fields map directly to the Server portion of the Configuration:
- host — the network interface Conduit binds to.
- port — the TCP port the HTTP server listens on.
- default_limit — the default maximum number of rows returned by list endpoints.
If default_limit is missing or set to a non‑positive value, Conduit automatically applies a safe fallback of 50.
Example
server:
host: "127.0.0.1"
port: 9000
default_limit: 100
This configuration binds Conduit to localhost on port 9000 and increases the default pagination limit to 100 rows.