Configuration

Example Configuration

An example of the plugin configuration in the gordon.toml file:

# Gordon Core Config
[core]
plugins = ["introspection"]

[core.logging]
level = "info"
handlers = ["stream"]

[introspection]
host = "127.0.0.1"
port = 8888

You may choose to have a gordon-user.toml file for development. Any top-level key will override what’s found in gordon.toml.

[core]
debug = true
plugins = ["introspection"]

[core.logging]
level = "debug"
handlers = ["stream"]

[introspection]
host = "0.0.0.0"

Supported Configuration

The following sections are supported:

introspection

host=STRING

Host to listen on, 0.0.0.0 if not set (default).

port=INT

Port to listen on, 8080 if not set (default).