- Restructured docker-compose for Nginx Proxy Manager (no custom nginx) - Added domain wordly.art configuration - Added Prometheus + Grafana monitoring stack with pre-configured dashboards - Added PostgreSQL backup script to NAS (daily/weekly/monthly rotation) - Added alert rules for backend, system, and Docker metrics - Updated deployment guide for NPM + IONOS DNS homelab setup - Added marketing plan document - PDF translator and watermark support - Enhanced middleware, routes, and translator modules Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
35 lines
710 B
YAML
35 lines
710 B
YAML
# Wordly.art - Prometheus Configuration
|
|
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
external_labels:
|
|
monitor: 'wordly-homelab'
|
|
environment: 'production'
|
|
|
|
rule_files:
|
|
- 'alerts.yml'
|
|
|
|
scrape_configs:
|
|
# Backend FastAPI
|
|
- job_name: 'wordly-backend'
|
|
static_configs:
|
|
- targets: ['backend:8000']
|
|
metrics_path: /metrics
|
|
scrape_interval: 10s
|
|
|
|
# Systeme (CPU, RAM, Disk, Reseau)
|
|
- job_name: 'node'
|
|
static_configs:
|
|
- targets: ['node-exporter:9100']
|
|
|
|
# Containers Docker
|
|
- job_name: 'docker'
|
|
static_configs:
|
|
- targets: ['cadvisor:8080']
|
|
|
|
# Prometheus lui-meme
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|