AcraTranslator configuration #
Here we describe how to set up AcraTranslator to reach a state where it can process queries.
List of all command line flags for AcraTranslator is located in Configuring and maintaining.
Configuration file #
There are two ways of configuring AcraTranslator:
- via command line flags
- via configuration file
The YAML file is passed with
To use this file as configuration source, you simply move flags into it,
--foo=1 will become
foo: 1 and
--bar=test will become
Different configuration sources can be mixed if that makes sense in your situation.
AcraTranslator will be listening on some default ports (gRPC API on
9696, HTTP API on
9595) if not configured to do otherwise.
Related flags are located in Configuring and maintaining
and described for flag names:
As a simple example we can set both like this:
It is also important to configure TLS so the application/clients will have secure connection to AcraTranslator.