From 97867b213ce299c0c0f08a2f8af697c55ad06be4 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Fri, 28 Oct 2022 17:04:22 +0800 Subject: [PATCH] docs: add describe of env vars --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a2e28bb..3c0c23e 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,16 @@ KMS Server: kms.dnomd343.top (1688) -> available + `--disable-http` :禁用HTTP服务,默认值为 `false` +### 环境变量 + ++ `DEBUG` :值为 `true` 时,进入DEBUG模式 + ++ `KMS_PORT` :指定KMS激活端口,默认值为 `1688` + ++ `HTTP_PORT` :指定HTTP服务端口,默认值为 `1689` + ++ `DISABLE_HTTP` :值为 `true` 时,禁用HTTP服务 + ### JSON接口 `kms-server` 预留了以下JSON接口,用于输出内置的KMS密钥。