Skip to main content

Setup Configurations

Configuration System

ServerRawler uses a folder where all configuration files are stored. The folder is named config.

Using a Custom Configuration File path

To teach ServerRawler to use your custom path/to/your/custom_config_folder directory, specify its path using the --config argument.

Important

The path you specify with the --config argument is the directory wher the folder config is located, not the path to the configuration files itself. For example, if your configuration files are located in path/to/your/custom_config_folder/config, you should specify --config path/to/your/custom_config_folder as the argument.

Configuration Files

ServerRawler uses two configuration files at the moment:

  • config/
    • config.toml: This file contains the main configuration settings for the crawler and scanner. Details here.
    • database.toml: This file contains the database connection details for PostgreSQL. Details here.

Click on the links above to learn how to set up each configuration file correctly.