chore: 将验证文件改为宿主机挂载热加载

Made-with: Cursor
This commit is contained in:
whm
2026-03-18 10:53:35 +08:00
parent 81cd9dce75
commit 31b1f2bb4c
4 changed files with 20 additions and 1 deletions

View File

@@ -32,6 +32,9 @@ services:
REGISTRY_MIRROR: ${REGISTRY_MIRROR:-}
image: yh_web-web:latest
container_name: yh_web
volumes:
# 仅挂载验证文件目录,便于热更新;前台静态站点仍由镜像内 dist 提供
- ./verify-root:/verify-root:ro
networks:
- yh_net
# 不暴露宿主机端口,仅由 nginx 容器反代