Files
hzhub/lefthook.yml
dazhuang bc96a584fe feat: Docker化部署完成 - 前端管理后台和AI服务
- 添加 hzhub-admin Dockerfile (Nginx)
- 添加 hzhub-admin nginx.conf (API代理、SSE支持、Gzip)
- 添加 hzhub-ai Dockerfile (Spring Boot)
- 添加 hzhub-gateway Dockerfile
- 更新 docker-compose.yml 添加前端和AI服务
- 更新 README.md 完善部署文档
- 配置 application-dev.yml 数据库连接

所有服务现在可通过 docker-compose up -d 一键启动:
- hzhub-admin:5666 (管理后台)
- hzhub-ai:6039 (AI服务)
- mysql:3306, redis:6379, weaviate:28080, n8n:5678
2026-03-27 06:04:58 +00:00

43 lines
856 B
YAML

# EXAMPLE USAGE:
#
# Refer for explanation to following link:
# https://lefthook.dev/configuration/
#
# pre-push:
# jobs:
# - name: packages audit
# tags:
# - frontend
# - security
# run: yarn audit
#
# - name: gems audit
# tags:
# - backend
# - security
# run: bundle audit
#
# pre-commit:
# parallel: true
# jobs:
# - run: yarn eslint {staged_files}
# glob: "*.{js,ts,jsx,tsx}"
#
# - name: rubocop
# glob: "*.rb"
# exclude:
# - config/application.rb
# - config/routes.rb
# run: bundle exec rubocop --force-exclusion {all_files}
#
# - name: govet
# files: git ls-files -m
# glob: "*.go"
# run: go vet {files}
#
# - script: "hello.js"
# runner: node
#
# - script: "hello.go"
# runner: go run