-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment Guide
zhouning edited this page Mar 22, 2026
·
1 revision
中英双语 | Bilingual
# 开发环境
docker-compose up -d
# 生产环境
docker-compose -f docker-compose.prod.yml up -d服务组成:app (Chainlit + API) + postgres (PostGIS) + redis (可选)
11 个清单文件位于 k8s/:
kubectl apply -k k8s/包含:Deployment, Service, ConfigMap, Secret, HPA (自动扩缩), Ingress, NetworkPolicy, PostgreSQL StatefulSet, Namespace
for f in data_agent/migrations/*.sql; do
psql -U agent_user -d gis_agent -f "$f"
done-
Prometheus:
/metrics端点,25+ 指标 -
Grafana:导入
grafana/agent_overview.json -
健康检查:
GET /health(K8s liveness/readiness)
通过反向代理(nginx/traefik)配置 HTTPS。
pg_dump -U agent_user gis_agent > backup_$(date +%Y%m%d).sql完整部署文档:deployment-guide.md
# Development
docker-compose up -d
# Production
docker-compose -f docker-compose.prod.yml up -dServices: app (Chainlit + API) + postgres (PostGIS) + redis (optional)
11 manifests in k8s/:
kubectl apply -k k8s/Includes: Deployment, Service, ConfigMap, Secret, HPA, Ingress, NetworkPolicy, PostgreSQL StatefulSet, Namespace
for f in data_agent/migrations/*.sql; do
psql -U agent_user -d gis_agent -f "$f"
done-
Prometheus:
/metricsendpoint, 25+ metrics -
Grafana: Import
grafana/agent_overview.json -
Health:
GET /health(K8s liveness/readiness)
Configure HTTPS via reverse proxy (nginx/traefik).
pg_dump -U agent_user gis_agent > backup_$(date +%Y%m%d).sqlFull deployment docs: deployment-guide.md
GIS Data Agent v14.5 · Built on Google ADK · GitHub · Report Issue
快速开始 Getting Started
核心概念 Core Concepts
使用指南 User Guide
架构与运维 Architecture & Ops
参考 Reference