modify: aarch64 设备docker部署

This commit is contained in:
root
2026-04-30 16:26:50 +08:00
parent 072a59a169
commit 074414aeab
6 changed files with 114 additions and 36 deletions
+3
View File
@@ -67,6 +67,9 @@ host = "0.0.0.0"
port = 8000
reload = false
workers = 4
# 对于嵌入式设备(如 BM1684),建议启用环境变量覆盖:
# docker run -e APP_WORKERS=2 ...
# 可减少线程数,避免 "can't start new thread" 错误
[production.logging]
backup_count = 5 # 最多保存 10 个日志文件