mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-06-26 18:21:31 +08:00
### v1.1.0 - #### Added - 新增 AI 笔记风格选择 - 新增 AI 笔记返回格式选择 - 添加 AI 自定义笔记备注 Prompt - 添加任务失败重试 - 添加全局设置页,可在设置页进行模型设置 - #### Optimize - 优化前端样式,优化用户体验 - 增加生成中间产物,可用于失败后加快生成速度 - #### Fix - 修复视频截图视频过早删除错误
20 lines
808 B
Bash
20 lines
808 B
Bash
#!/bin/sh
|
||
###
|
||
# @Author: Jefferyhcool 1063474837@qq.com
|
||
# @Date: 2025-04-16 01:57:05
|
||
# @LastEditors: Jefferyhcool 1063474837@qq.com
|
||
# @LastEditTime: 2025-04-16 01:59:37
|
||
# @FilePath: /hotfix-dev/BillNote_frontend/deploy/start.sh
|
||
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||
###
|
||
# 等待后端健康检查通过
|
||
until curl -s "http://backend:${BACKEND_PORT}/health" > /dev/null; do
|
||
echo "等待后端服务就绪..."
|
||
sleep 2
|
||
done
|
||
|
||
# 生成 nginx 配置文件(动态变量替换)
|
||
envsubst '${BACKEND_HOST} ${BACKEND_PORT}' < /etc/nginx/templates/default.conf.template > /etc/nginx/conf.d/default.conf
|
||
|
||
# 启动 Nginx(在前台运行)
|
||
exec nginx -g 'daemon off;' |