From 740fd32c1f16feda5a2840baf5ad7fbbcd8bd918 Mon Sep 17 00:00:00 2001 From: 05412 <2738076308@qq.com> Date: Tue, 23 Jul 2024 11:38:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=85=8D=E7=BD=AE=E9=A1=B9?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.MD | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index df8fa64..ae9245c 100644 --- a/README.MD +++ b/README.MD @@ -1,3 +1,15 @@ # surl -A simple URL shortener written in kotlin +短链接生成系统 +## 配置项 + +- 数据库类型: `POSTGRESQL` +- 缓存中间件: `REDIS` + +### 环境变量 + +- `DB_HOST`: 数据库主机, 必选 +- `DB_PORT`: 数据库主机端口, 可选 +- `DB_PASS`: 数据库密码, 必选 +- `REDIS_HOST`: `REDIS`主机, 必选 +- `SECRET`: `TOKEN`密钥, 可选