Skip to main content

API-Server

Configuration

The API-Server can be configured via a config file (YAML, JSON or TOML) located at /etc/enclave/config.yaml, $HOME/.enclave or ./.

The configuration file supports the following options:

OptionAllowed ValuesDescription
human_readable_outputtrue / falseEnable Human-reable output (= to stdout and in color) for the logs
log_leveldebug, info, warn or errorSet the log-level
production_environmenttrue / falseOperate (gin) server in production mode
port<port>Port to run the API-Server on