nps docker image configured via env vars | 通过环境变量配置的 nps docker 镜像
MuXiu1997 opened this issue · comments
Out-of-the-box configuration of Nps via env vars entirely
开箱即用的完全通过环境变量配置 Nps
Usage Example
default config file: nps.conf
-
NPS_XXXX
env
NPS_HTTP_PROXY_IP='127.0.0.1'
-> sethttp_proxy_ip
to127.0.0.1
-http_proxy_ip=0.0.0.0 +http_proxy_ip=127.0.0.1
-
COMMENT_NPS_XXXX='true'
env
COMMENT_NPS_HTTPS_DEFAULT_CERT_FILE='true'
-> commenthttps_default_cert_file
line-https_default_cert_file=conf/server.pem +#https_default_cert_file=conf/server.pem
-
COMMENT_NPS_XXXX=''
env
COMMENT_NPS_AUTH_KEY=''
-> remove comments fromauth_key
line-#auth_key=test +auth_key=test
env SKIP_GEN_NPS_CONF='true'
-> skip generate config file