chore(release): v1.0.9 移除 Webhook 自动部署功能

- 删除 webhook/ 目录及相关文件
- 删除 deploy.sh 部署脚本
- 删除 WEBHOOK_SETUP.md 配置文档
- 更新 docker-compose.yaml 移除 webhook 服务
- 更新 README.md 和 CHANGELOG.md
This commit is contained in:
clz
2026-01-19 00:21:53 +08:00
parent 871da2454c
commit 9abd0d964f
10 changed files with 19 additions and 1146 deletions

View File

@@ -125,31 +125,3 @@ services:
depends_on:
mongodb:
condition: service_healthy
# Gitea Webhook 服务 - 自动部署
webhook:
build:
context: ./webhook
dockerfile: Dockerfile
container_name: billai-webhook
restart: unless-stopped
ports:
- "9000:9000"
environment:
WEBHOOK_PORT: "9000"
# 重要:更改此 Secret 为强随机值
# 生成方法: openssl rand -hex 32
WEBHOOK_SECRET: "change-this-to-your-secret-key"
REPO_PATH: "/app"
volumes:
# 挂载 Docker Socket 以支持容器操作
- /var/run/docker.sock:/var/run/docker.sock
# 挂载仓库目录
- ./:/app
working_dir: /app
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/health"]
interval: 10s
timeout: 5s
retries: 3
start_period: 5s