6c82958c79
- Implement React frontend with TypeScript and Tailwind CSS - Add scrappbook.de-inspired UI design with photo galleries - Implement authentication, photo viewing, and download features - Add Docker Swarm configuration with Traefik reverse proxy - Set up Drone CI/CD pipeline for automated deployments - Add monitoring stack with Prometheus and Grafana - Create comprehensive deployment documentation - Add simple local development setup with docker-compose.local.yml Features: - Password-protected galleries with expiration warnings - Responsive photo grid with lightbox viewer - Bulk download functionality - Hot reload development environment - Email testing with Mailhog - Production-ready deployment scripts 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
65 lines
1.3 KiB
YAML
65 lines
1.3 KiB
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
external_labels:
|
|
monitor: 'photo-sharing'
|
|
environment: 'production'
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets: ['alertmanager:9093']
|
|
|
|
rule_files:
|
|
- '/etc/prometheus/alerts/*.yml'
|
|
|
|
scrape_configs:
|
|
# Prometheus itself
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
# Node Exporter
|
|
- job_name: 'node-exporter'
|
|
dns_sd_configs:
|
|
- names:
|
|
- 'tasks.node-exporter'
|
|
type: 'A'
|
|
port: 9100
|
|
|
|
# Docker containers
|
|
- job_name: 'cadvisor'
|
|
dns_sd_configs:
|
|
- names:
|
|
- 'tasks.cadvisor'
|
|
type: 'A'
|
|
port: 8080
|
|
|
|
# Traefik
|
|
- job_name: 'traefik'
|
|
static_configs:
|
|
- targets: ['traefik:8082']
|
|
|
|
# Photo Sharing Backend
|
|
- job_name: 'photo-sharing-backend'
|
|
dns_sd_configs:
|
|
- names:
|
|
- 'tasks.photo-sharing_backend'
|
|
type: 'A'
|
|
port: 3000
|
|
metrics_path: '/api/metrics'
|
|
|
|
# PostgreSQL
|
|
- job_name: 'postgres'
|
|
static_configs:
|
|
- targets: ['photo-sharing_db:9187']
|
|
|
|
# Loki
|
|
- job_name: 'loki'
|
|
static_configs:
|
|
- targets: ['loki:3100']
|
|
|
|
# Grafana
|
|
- job_name: 'grafana'
|
|
static_configs:
|
|
- targets: ['grafana:3000'] |