mirror of
https://github.com/JefferyHcool/BiliNote.git
synced 2026-05-31 02:49:41 +08:00
Merge pull request #103 from JefferyHcool/feature/kuaishou
Feature/kuaishou
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
BACKEND_PORT=8001
|
BACKEND_PORT=8001
|
||||||
FRONTEND_PORT=3015
|
FRONTEND_PORT=3015
|
||||||
BACKEND_HOST=0.0.0.0 # 默认为 0.0.0.0,表示监听所有 IP 地址 不建议动
|
BACKEND_HOST=0.0.0.0 # 默认为 0.0.0.0,表示监听所有 IP 地址 不建议动
|
||||||
|
APP_PORT= 3015 # docker 部署时用
|
||||||
# 前端访问后端用(生产环境建议写公网或宿主机 IP)
|
# 前端访问后端用(生产环境建议写公网或宿主机 IP)
|
||||||
VITE_API_BASE_URL=http://127.0.0.1:8001
|
VITE_API_BASE_URL=http://127.0.0.1:8001
|
||||||
VITE_SCREENSHOT_BASE_URL=http://127.0.0.1:8001/static/screenshots
|
VITE_SCREENSHOT_BASE_URL=http://127.0.0.1:8001/static/screenshots
|
||||||
@@ -17,7 +17,7 @@ DATA_DIR=data
|
|||||||
FFMPEG_BIN_PATH=
|
FFMPEG_BIN_PATH=
|
||||||
|
|
||||||
# transcriber 相关配置
|
# transcriber 相关配置
|
||||||
TRANSCRIBER_TYPE=fast-whisper # fast-whisper/bcut/kuaishou/mlx-whisper/groq(仅Apple平台)
|
TRANSCRIBER_TYPE=fast-whisper # fast-whisper/bcut/kuaishou/mlx-whisper(仅Apple平台)/groq
|
||||||
WHISPER_MODEL_SIZE=base
|
WHISPER_MODEL_SIZE=base
|
||||||
|
|
||||||
GROQ_TRANSCRIBER_MODEL=whisper-large-v3-turbo # groq提供的faster-whisper 默认为 whisper-large-v3-turbo
|
GROQ_TRANSCRIBER_MODEL=whisper-large-v3-turbo # groq提供的faster-whisper 默认为 whisper-large-v3-turbo
|
||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
container_name: bilinote-nginx
|
container_name: bilinote-nginx
|
||||||
image: nginx:1.25-alpine
|
image: nginx:1.25-alpine
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "${APP_PORT}:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user