Configuration

Ocypod is configured from a single TOML file.

All sections and fields of the configuration are optional, and defaults shown will be used if not present.

Server section

General configuration for the ocypod-server itself, uses [server] as a section header.

Fields:

Example:

[server]
host = "0.0.0.0"
port = 8023
threads = 2
max_body_size = "10MiB"
timeout_check_interval = "1m"
retry_check_interval = "30s"
expiry_check_interval = "1h"
next_job_delay = "5s"

Redis section

Configuration for connectivity to the Redis server used by Ocypod. Uses [redis] as a section header.

Fields:

Example:

[redis]
url = "redis://:my_password@example.com:6379/my_db"
threads = 1