Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
Tracked by #2665
TarantoolBot opened this issue Apr 15, 2021 · 2 comments · Fixed by #2716
Closed
3 tasks done
Tracked by #2665

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

TarantoolBot opened this issue Apr 15, 2021 · 2 comments · Fixed by #2716
Assignees
Labels
feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Apr 15, 2021

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
@Onvember Onvember added the feature A new functionality label Apr 15, 2021
@veod32 veod32 added server [area] Task relates to Tarantool's server (core) functionality reference [location] Tarantool manual, Reference part labels Apr 19, 2021
@NickVolynkin
Copy link
Contributor

@NickVolynkin
Copy link
Contributor

NickVolynkin commented Apr 21, 2021

@veod32 veod32 changed the title Set box.cfg options via environment variables [5pt] Set box.cfg options via environment variables Apr 21, 2021
@veod32 veod32 changed the title [5pt] Set box.cfg options via environment variables [3pt] Set box.cfg options via environment variables Feb 3, 2022
@veod32 veod32 added the 3sp label Feb 3, 2022
veod32 added a commit that referenced this issue Feb 22, 2022
@veod32 veod32 linked a pull request Feb 23, 2022 that will close this issue
veod32 added a commit that referenced this issue Feb 24, 2022
@patiencedaur patiencedaur added 1sp and removed 3sp labels Feb 24, 2022
veod32 added a commit that referenced this issue Feb 27, 2022
veod32 added a commit that referenced this issue Feb 27, 2022
Add the new section describing setting box.cfg parameters via environment variables

Closes #2066
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality reference [location] Tarantool manual, Reference part server [area] Task relates to Tarantool's server (core) functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants