first commit

This commit is contained in:
2025-09-11 14:00:33 +08:00
parent 3898c312d5
commit 20bf2449e0
31 changed files with 1390 additions and 476 deletions

24
health-check.sh Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
# n8n指南健康检查脚本
echo "🔍 检查n8n指南服务状态..."
# 检查容器是否运行
if docker-compose ps | grep -q "Up"; then
echo "✅ 容器运行正常"
else
echo "❌ 容器未运行"
exit 1
fi
# 检查端口是否可访问
if curl -s http://localhost:8000 > /dev/null; then
echo "✅ 服务可访问"
echo "📱 访问地址http://localhost:8000"
else
echo "❌ 服务不可访问"
echo "📋 查看日志docker-compose logs"
exit 1
fi
echo "🎉 服务健康检查通过!"