From f5928718de0a05307ca0367cebb5831b4a83f11a Mon Sep 17 00:00:00 2001 From: chaos-zhu Date: Tue, 20 Aug 2024 10:47:57 +0800 Subject: [PATCH] =?UTF-8?q?:pencil:=20=E7=89=88=E6=9C=AC=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 9 +++++++++ README.md | 3 +++ 2 files changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c353c7d..26b372a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [2.2.3](https://github.com/chaos-zhu/easynode/releases) (2024-08-20) + +### Features + +* 添加环境变量 ✔ +* 支持IP访问白名单设置 ✔ +* 修复一些小bug ✔ +* 优化Eslint规则 ✔ + ## [2.2.2](https://github.com/chaos-zhu/easynode/releases) (2024-08-19) ### Features diff --git a/README.md b/README.md index 8cc7fb4..d558fff 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,9 @@ docker run -d --net=host --restart=always -v /root/easynode/db:/easynode/app/db chaoszhu/easynode # 容器支持使用-p 8082:8082映射端口, 但无法记录登录IP ``` +环境变量: +- DEBUG: 启动debug日志 0:关闭 1:开启, 默认关闭 +- ALLOWED_IPS: 运行访问服务的IP, 多个使用逗号分隔, 例如: -e ALLOWED_IPS=127.0.0.1,127.0.0.2 ### 手动部署