Server
Command-line parameters for the service: “DataForge Server”.
All DataForge services (df-server, df-collector, df-preprocessor, df-renderer, df-deliverer, df-ai-trainer, df-ai-tester, df-ai-server) can be configured using command-line parameters, a main and override configuration file, or environment variables.
For service deployment in Docker, it is recommended to use environment variables for configuration.
Configuration options are applied in a defined order. Every subsequent method can therefore override previously applied configurations.
df-server.yaml)df-server-user.yaml)DF_SERVER_CRYPTO_MASTER_KEY)--crypto.master-key)Configuration files are recognized by name on a per-service basis. A main configuration file is named as the respective service with the .yaml file extension.
The override configuration file has the suffix -user appended to the service name.
For the DataForge Server these are respectively:
df-server.yaml - for the main configuration filedf-server-user.yaml - for the override configuration fileAll configuration keys exist in all formats, only the names are transformed in specific ways, depending on the configuration method. For example, in configuration files the encryption key is set as crypto.master_key: "example".
A service prefix is prepended when using environment variables, and the key is written as DF_SERVER_CRYPTO_MASTER_KEY=example. On the command-line, the same option is set as --crypto.master-key=example. The cheat sheet below explains the differences:
crypto.master_key: "example"
crypto.Master_Key: "example" - This would be just as valid. Only applies to configuration files.DF_SERVER_CRYPTO_MASTER_KEY=example
--crypto.master-key=example
--All DataForge binaries can be executed with the following flags to list the appropriate set of configuration keys:
--list-environment-keys--list-config-keys--list-cli-keysThe --help option shows usage and default values for each option. Additionally, the --create-empty-config option prints an empty sample configuration to standard output.
For reference configurations, see the included Docker Compose file.
The following sections provide an overview of all configuration options and their usage. For configuration options of third-party services, refer to their respective documentation.
Command-line parameters for the service: “DataForge Server”.
Command-line parameters for the service: “DataForge Collector”.
Command-line parameters for the service: “DataForge Preprocessor”.
Command-line parameters for the service: “DataForge Renderer”.
Command-line parameters for the service: “DataForge Deliverer”.
Command-line parameters for the service: “DataForge AI Trainer”.
Command-line parameters for the service: “DataForge AI Tester”.
Command-line parameters for the service: “DataForge AI Server”.