/oxla/startup_config
, based on environment variables and default values.
/oxla/startup_config
config directory can be mounted using -v /path/to/mount:/oxla/startup_config
command to access the config file directly:
Automatic Generation from Defaults
config.yml
). During generation, Oxla takes into account environment variables. When the environment variable is passed, this value is written to the generated config instead of the default one.Modifying Default Config Path
OXLA_CONFIG_FILE=path/to/config.yml
environment variable to the docker run
command. Passing an empty path would result in using the default values.Partial Variable Specification
Regenerating the Config File
/oxla/startup_config/config.yml
. Oxla will then automatically generate a new configuration file based on the default values.Variable | Description | Values / Units |
---|---|---|
network.port | Port on which Oxla listens for connections from nodes in the cluster | - |
network.postgresql_port | Port on which the node listens for TCP connections to the PostgreSQL client | - |
network.prometheus_port | Port on which the process listens for HTTP connections for Prometheus metrics | - |
network.nodes | List of IP addresses or DNS addresses to which Oxla connects | - |
network.cluster_name | Common cluster name used for node connection validation | - |
network.host_name | Unique name of a single node in the cluster | - |
metrics.no_prometheus_exposer | Option for disabling the Prometheus exposer | - |
insertion.buffer_size_limit | Threshold for data or time before dumping data from memory to the filesystem | G , M , K |
insertion.buffer_timeout | Timeout for dumping data from memory to the filesystem | h , min , s , ms |
logging.info | Logging level | VERBOSE , DEBUG , INFO , WARNING , ERROR , FATAL , NONE |
storage.oxla_home | Directory for data (either on local disk, path inside the container or on S3) | - |
storage.s3.enable_discovery | By default, regional or overridden endpoints are used. To enable endpoint discovery, set the variable to true | false , true |
storage.s3.use_dual_stack | Enable or disable dual-stack IPv4 and IPv6 endpoints (not all AWS services support IPv6 in all Regions) | - |
storage.s3.endpoint | Endpoint for the S3 protocol. If not provided, the default AWS endpoint is used | - |
access_control.mode | Access control mode that Oxla sticks to during connection and execution of queries by connected users | DEFAULT : keeps the default behavior of Oxla OFF : turns off the access control. Everyone can login and execute any query ON : turns on the access control and all the validations are executed |
ssl.mode | SSL connection mode for securing database communication | Optional : SSL is used if available, otherwise a non-SSL connection is attempted Require : SSL must be used, non-SSL connections are rejected Off : No SSL is used, all connections are unencrypted |
__
(double underscore) replacing YAML hierarchy levels. For example:
NETWORK__PORT
environment variable-e
parameter in the docker run
command, as presented below: