[Tarantool-patches] [PATCH] box: set cfg via environment variables

Leonid Vasiliev lvasiliev at tarantool.org
Fri Mar 19 16:23:06 MSK 2021

On 3/14/21 6:34 PM, Roman Khabibov wrote:
> Add ability to set box.cfg options via env variables. These
> variables should have name "TT_<OPTION>". When Tarantool instance
> is started under tarantoolctl utility env variables options have
> more priority than instance file's cfg.
> Closes #5602
> @TarantoolBot document
> Title: Set box.cfg options via env variables
> Now, it is possible to set box.cfg options via environment
> variables. The name of variable should correspond the followng
> pattern: "TT_<NAME>", where <NAME> is an option name. For example:
> If it is complex value, for example, "replication" can be set by a
> table, the corresponding environment varibale value has the syntax
> of lua array (without keys):
> `export TT_REPLICATION="{'uri1', 'uri2'}"`
> Note that every value in arary must be quoted.
> ---
> @ChangeLog
> * Add ability to set box.cfg options via environment variables (gh-5602).

@Changelog - deprecated. See tarantool/doc/changelogs.md

More information about the Tarantool-patches mailing list