mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
功能更新(配置):优化 MariaDB 兼容性与环境变量配置支持 - Changed collation from `utf8mb4_0900_ai_ci` to `utf8mb4_unicode_ci` for MariaDB compatibility. 为兼容 MariaDB,将字符集排序规则从 `utf8mb4_0900_ai_ci` 修改为 `utf8mb4_unicode_ci`。 - Updated `application-dev.yml` to support variable loading from root `.env` file or system environment variables. 修改 `application-dev.yml`,支持从根目录下的 `.env` 文件或系统环境变量中读取配置。 - Added `.env.template` as a reference for required configuration variables. 新增 `.env.template` 文件,提供配置变量示例。
9 lines
No EOL
344 B
Text
9 lines
No EOL
344 B
Text
KNIFE4J_USERNAME = renren
|
|
KNIFE4J_PASSWORD = 2ZABCDEUgF
|
|
DB_DRIVER=org.mariadb.jdbc.Driver
|
|
DB_URL = jdbc:mysql://127.0.0.1:3306/xiaozhi_esp32_server?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
|
|
DB_USERNAME = root
|
|
DB_PASSWORD = 123456
|
|
REDIS_HOST = 127.0.0.1
|
|
REDIS_PASSWORD =
|
|
REDIS_DATABASE=0 |