From 920a3fb2480d7ed9198c57d93868ca5475ecf297 Mon Sep 17 00:00:00 2001 From: looha Date: Thu, 29 Feb 2024 09:29:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A7=81=E6=9C=89=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E9=83=A8=E7=BD=B2=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E5=92=8C=E5=BC=80=E6=9C=BA=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=20(#668)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加私有服务器部署自定义端口和开机启动 --- docs/backend.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/backend.md b/docs/backend.md index ad970cb47..a6523af3e 100644 --- a/docs/backend.md +++ b/docs/backend.md @@ -278,6 +278,8 @@ EXPOSE 7860 ::: tip 提示 1. Linux 服务器可以用 `nohup tkserver >> tkserver.log 2>&1 &` 命令后台启动 2. 数据默认在 data 目录,请注意定期备份数据 +3. 默认端口为8080,自定义端口使用可使用 `TWIKOO_PORT=1234 tkserver` 启动。 +4. 配置systemctl服务配合`TWIKOO_PORT=1234 tkserver`设置开机启动 ::: ## 私有部署 (Docker)