mirror of
https://github.com/bytedance/g3.git
synced 2026-05-05 07:10:51 +00:00
allow to read from env when setting listen/peer addr
This commit is contained in:
parent
0a3925bd20
commit
c96f8511af
17 changed files with 72 additions and 29 deletions
|
|
@ -5,6 +5,17 @@
|
|||
Base
|
||||
****
|
||||
|
||||
.. _conf_value_env_var:
|
||||
|
||||
env var
|
||||
=======
|
||||
|
||||
**yaml value**: str
|
||||
|
||||
Set a environment variable, in the form '$' + variable name, E.g. $TCP_LISTEN_ADDR.
|
||||
|
||||
The value of the environment variable will be parsed just as you write this value as *yaml string* directly there.
|
||||
|
||||
.. _conf_value_nonzero_u32:
|
||||
|
||||
nonzero u32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue