Configuration
Sirveo requires some minimal configuration, which can be provided via configuration file, command-line options, and/or environment variables. For example, the database host can be configured with:
db_host
in a configuration file key--db-host
in a CLI optionSIRVEO_DB_HOST
in an environment variable
Default configuration
To use a configuration file, generate one like this:
If you prefer yaml:
The generated configuration file will contain default values for all settings.
Minimal configuration
Minimal configuration should include:
Starting the server
To start the server using a configuration file, run:
Or:
A configuration file is optional. All configuration parameters can be provided as environment variables and/or CLI options.