# ============================================================================= # Sentry Self-Hosted for AWOOOI # ============================================================================= # 部署位置: 192.168.0.110 (DevOps 金庫) # 用途: Error Tracking + Session Replay (補強 SignOz) # # 安裝步驟: # 1. git clone https://github.com/getsentry/self-hosted.git sentry # 2. cd sentry && ./install.sh # 3. docker compose up -d # # 官方文檔: https://develop.sentry.dev/self-hosted/ # ============================================================================= version: '3.8' # 注意: Sentry Self-Hosted 使用官方 install.sh 腳本安裝 # 此檔案僅作為參考和文檔用途 # 實際部署請使用: https://github.com/getsentry/self-hosted # 最低系統需求: # - Docker 19.03.6+ # - Docker Compose 1.28.0+ # - 8GB RAM (推薦 16GB) # - 20GB 硬碟空間 # 服務架構: # ┌────────────────────────────────────────────────┐ # │ Sentry Self-Hosted │ # ├────────────────────────────────────────────────┤ # │ nginx (reverse proxy) → Port 9000 │ # │ web (Django) → Sentry UI │ # │ worker (Celery) → 背景任務 │ # │ cron → 定時任務 │ # │ ingest-consumer → 事件接收 │ # ├────────────────────────────────────────────────┤ # │ postgres → 主資料庫 │ # │ redis → 快取 + Queue │ # │ kafka + zookeeper → Event Stream │ # │ clickhouse → 查詢儲存 │ # │ snuba (多容器) → 查詢引擎 │ # │ symbolicator → Source Map │ # └────────────────────────────────────────────────┘ services: # 此檔案僅為文檔,實際使用官方腳本 placeholder: image: alpine:latest command: echo "Use official install.sh from https://github.com/getsentry/self-hosted"