allow to read from env when setting listen/peer addr

This commit is contained in:
Zhang Jingqiang 2023-12-12 10:56:46 +08:00
parent 0a3925bd20
commit c96f8511af
17 changed files with 72 additions and 29 deletions

View file

@ -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