Go to file
2026-07-22 15:03:56 +08:00
.vscode first commit 2026-06-26 10:51:01 +08:00
public feat: 模型控制 2026-06-29 16:19:37 +08:00
server feat: docker配置https 2026-07-22 15:03:56 +08:00
src feat: 增加扬声器音量控制 2026-07-22 14:01:38 +08:00
.dockerignore first commit 2026-06-26 10:51:01 +08:00
.env feat: docker配置https 2026-07-22 15:03:56 +08:00
.gitignore first commit 2026-06-26 10:51:01 +08:00
auto-imports.d.ts feat: 上位机首页 2026-07-06 10:32:35 +08:00
components.d.ts feat: 上位机首页 2026-07-06 10:32:35 +08:00
docker-compose.yml feat: docker配置https 2026-07-22 15:03:56 +08:00
Dockerfile feat: docker配置https 2026-07-22 15:03:56 +08:00
index.html first commit 2026-06-26 10:51:01 +08:00
package.json feat: 双向通话 2026-07-22 13:33:59 +08:00
pnpm-lock.yaml feat: 双向通话 2026-07-22 13:33:59 +08:00
README.md feat: docker配置https 2026-07-22 15:03:56 +08:00
vite.config.js style: 调整style样式 2026-07-02 16:38:59 +08:00

Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.

Docker HTTPS 部署Linux

服务直接通过 HTTPS 对外提供前端、API 和 WebSocket不占用 443 端口。部署前修改 .env

VITE_SERVICE_PORT=5175
HTTPS_CERT_FILENAME=你的证书文件.pem
HTTPS_KEY_FILENAME=你的私钥文件-key.pem

证书和私钥应位于 Linux 的 /home/cmvr/zh/mkcert 目录中,该目录会以只读方式挂载到容器。然后执行:

docker compose up -d --build
docker compose logs -f app

访问地址为 https://<Linux主机IP>:<VITE_SERVICE_PORT>。请确保防火墙已放行该端口,并且证书包含实际访问时使用的域名或 IP。