社区初始化

This commit is contained in:
lxp
2026-10-14 10:26:20 +08:00
parent fc95e7968b
commit e23d249bd0
60 changed files with 4994 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
# 复制为 .env;此文件不能填写真实凭据后提交。
DB_URL='jdbc:mysql://localhost:3306/community?useUnicode=true&characterEncoding=utf8&connectionTimeZone=UTC'
DB_USERNAME=community_app
DB_PASSWORD='replace-with-your-database-password'
GITEA_BASE_URL=http://localhost:3000
GITEA_ORGANIZATION=community
GITEA_TOKEN='replace-with-your-gitea-token'
# 默认 test,部署生产环境时改为 prod;连接信息也应对应生产环境。
SPRING_PROFILES_ACTIVE=test
# 不设置 LOG_PATH 时,日志按环境写入 logs/test 或 logs/prod。
# LOG_PATH=/data/community/logs
PORT=8993