Configuration Options
Configure Relay to suit the needs of your organization.
Configuration for Relay is typically recorded in the file .relay/config.yml (relative to the working directory). Configuration options can be overridden through environment variables. To change the config location, pass the --config option to any Relay command:
Copied
❯ ./relay run --config /path/to/folder
❯ ./relay run --config /path/to/folder
All configuration keys are snake_case.
Credentials can be initiated as described in the getting started page, but can be overridden by setting the following environment variables:
- Secret key:
RELAY_SECRET_KEY. - Public key:
RELAY_PUBLIC_KEY. - ID:
RELAY_ID.
For a comprehensive and up-to-date list of all configuration options, see the ConfigValues reference. Note that some options, such as processing, are only relevant when self-hosting. For an example of how ConfigValues translate to an actual config.yml, see the config example in Initializing Configuration.
Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").