Skip to content

[3pt] Set box.cfg options via environment variables #2066

Closed
@TarantoolBot

Description

@TarantoolBot

Set box.cfg options via environment variables

Product: Tarantool
Since: 2.8.1
Audience/target: all Tarantool users
Root document:

SME: @ romanhabibov

Details

  1. Now, it is possible to set box.cfg options via environment variables.
    The name of variable should correspond the following pattern:
    TT_<NAME>, where <NAME> is uppercase box.cfg option name. For
    example: TT_LISTEN, TT_READAHEAD.

Array values are separated by comma. Example:

export TT_REPLICATION=localhost:3301,localhost:3302

An empty variable is the same as unset one.

  1. When Tarantool instance is
    started under tarantoolctl utility, environment variables have higher
    priority than tarantoolctl configuration file.

Definition of done

  • Possiblity of setting box.cfg options via environment variables is described.
  • Add info about priorities of the config parameters' sources
  • Add cross-references with the release 2.8.1 page

Metadata

Metadata

Assignees

Labels

featureA new functionalityreference[location] Tarantool manual, Reference partserver[area] Task relates to Tarantool's server (core) functionality

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions