- Install Prometheus + Grafana via kube-prometheus-stack (ClusterIP only, no public ingress) - Deploy Tailscale Operator for secure VPN access to internal services - Add CNPG/PostgreSQL monitoring dashboards - Add vLLM inference monitoring dashboards (tokens, latency, GPU) - Add Cilium networking dashboards (policy, traffic, drops) - Update infra-controllers staging kustomization to include all controllers - Add monitoring-configs Flux sync for dashboard deployment - Update README with monitoring architecture and access instructions - Remove broken stale monitoring files (Azure Key Vault refs, wrong domains) Access: kubectl port-forward or Tailscale VPN (replace auth key before deploy)
21 lines
573 B
Docker
21 lines
573 B
Docker
FROM python:3.13-slim
|
||
|
||
LABEL maintainer="sirius0xdev" \
|
||
description="VWAP Wave Breach Scanner — monitors Gold, NASDAQ, S&P, Crude Oil"
|
||
|
||
WORKDIR /app
|
||
|
||
COPY app/requirements.txt .
|
||
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
||
COPY app/scanner.py .
|
||
|
||
# Default scan interval: 120s (2 min), threshold: 2σ
|
||
ENV SCAN_INTERVAL_SEC=120 \
|
||
BREACH_THRESHOLD=2.0
|
||
|
||
# Health check: ensure process is alive
|
||
HEALTHCHECK --interval=60s --timeout=10s --retries=3 \
|
||
CMD ["python3", "-c", "import os; assert os.path.exists('/proc/1/fd/0')"]
|
||
|
||
CMD ["python3", "scanner.py"]
|