export to public

This commit is contained in:
2026-04-09 09:46:00 +00:00
parent 8409655e66
commit 395c8e2e1c
2 changed files with 15 additions and 5 deletions

View File

@@ -232,6 +232,13 @@ tail -f logs/frontend.log
BACKEND_PORT=9000 FRONTEND_PORT=8451 ./start.sh
```
如果你希望脚本打印公网 IP 或域名,而不是机器的内网地址,可以额外指定:
```bash
PUBLIC_HOST=1ian.cn ./start.sh
PUBLIC_HOST=47.93.63.204 ./start.sh
```
## Docker 启动
如果你希望在 Ubuntu 24.04 或其他装有 Docker 的环境中快速运行,直接使用: