Tarantool development patches archive
 help / color / mirror / Atom feed
From: Leonid Vasiliev via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: Roman Khabibov <roman.habibov@tarantool.org>,
Subject: Re: [Tarantool-patches] [PATCH] box: set cfg via environment variables
Date: Fri, 19 Mar 2021 16:23:06 +0300	[thread overview]
Message-ID: <9987cbb0-137e-9d4d-36c2-8d16ee844ee2@tarantool.org> (raw)
In-Reply-To: <20210314153457.85909-1-roman.habibov@tarantool.org>

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

      parent reply	other threads:[~2021-03-19 13:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 15:34 Roman Khabibov via Tarantool-patches
2021-03-19 12:38 ` Leonid Vasiliev via Tarantool-patches
2021-04-09  8:56   ` Roman Khabibov via Tarantool-patches
2021-04-12  8:37     ` Leonid Vasiliev via Tarantool-patches
2021-04-13 12:47       ` Roman Khabibov via Tarantool-patches
2021-04-12  9:52     ` Leonid Vasiliev via Tarantool-patches
2021-03-19 13:23 ` Leonid Vasiliev via Tarantool-patches [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9987cbb0-137e-9d4d-36c2-8d16ee844ee2@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=lvasiliev@tarantool.org \
    --cc=roman.habibov@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH] box: set cfg via environment variables' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox