feat: homelab deployment - NPM + IONOS DNS + monitoring + NAS backup

- 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>
This commit is contained in:
2026-05-10 11:43:28 +02:00
parent 16ac7ca2b9
commit ce8e150a61
110 changed files with 6935 additions and 4301 deletions

View File

@@ -1,37 +1,34 @@
# Prometheus Configuration for Document Translation API
# Wordly.art - Prometheus Configuration
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'translate-api'
monitor: 'wordly-homelab'
environment: 'production'
alerting:
alertmanagers:
- static_configs:
- targets: []
rule_files: []
rule_files:
- 'alerts.yml'
scrape_configs:
# Backend API metrics
- job_name: 'translate-backend'
# Backend FastAPI
- job_name: 'wordly-backend'
static_configs:
- targets: ['backend:8000']
metrics_path: /metrics
scrape_interval: 10s
# Nginx metrics (requires nginx-prometheus-exporter)
- job_name: 'nginx'
static_configs:
- targets: ['nginx-exporter:9113']
# Node exporter for system metrics
# Systeme (CPU, RAM, Disk, Reseau)
- job_name: 'node'
static_configs:
- targets: ['node-exporter:9100']
# Docker metrics
# Containers Docker
- job_name: 'docker'
static_configs:
- targets: ['cadvisor:8080']
# Prometheus lui-meme
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']