fix: require unique Lite JWT secret

This commit is contained in:
lezi-fun committed 2026-08-12 22:34:05 +08:00
1 parent 16f39fc7c6
commit ab66d9a6fc
2 files changed
+6 -4

No files matched your search

+5 -2
View File
@@ -39,9 +39,13 @@ Forumlify 提供了两个不同架构的分支版本,以满足不同部署环
```
git clone https://github.com/furrium/forumlify.git
cd forumlify
docker-compose up -d
printf 'JWT_SECRET=%s\n' "$(openssl rand -hex 32)" > .env
docker compose up -d
```
旧版 Compose 也可以使用 `docker-compose up -d`。请妥善备份 `.env`;更换
`JWT_SECRET` 会使现有登录令牌失效。
应用默认运行在 `http://localhost:3000`。
---
@@ -139,4 +143,3 @@ forumlify/
MIT