This release includes: Milestone 1-5: Core Implementation - Go API with Chi router and JWT authentication - React frontend with TypeScript and TailwindCSS - Python worker with Demucs for audio separation - PostgreSQL database and Redis queue - WebSocket notifications Milestone 6: UI/UX Enhancements - Multi-track audio player - Drag-and-drop upload - Real-time progress tracking Milestone 7: Testing & Documentation - Comprehensive API tests (integration, E2E) - Python worker tests (47 tests) - Playwright E2E tests for frontend - API, Architecture, Development documentation Milestone 8: Production Deployment - Production Docker configurations - Kubernetes manifests with Kustomize - Prometheus + Grafana monitoring - Release and deployment scripts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
version: '3.8'
|
|
|
|
# Monitoring stack for SoundEx
|
|
# Run with: docker-compose -f docker-compose.yml -f docker-compose.monitoring.yml up
|
|
|
|
services:
|
|
# Prometheus - Metrics collection
|
|
prometheus:
|
|
image: prom/prometheus:v2.45.0
|
|
container_name: soundex-prometheus
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
|
- prometheus_data:/prometheus
|
|
command:
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
- '--storage.tsdb.path=/prometheus'
|
|
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
|
|
- '--web.console.templates=/usr/share/prometheus/consoles'
|
|
- '--web.enable-lifecycle'
|
|
ports:
|
|
- "9090:9090"
|
|
networks:
|
|
- monitoring
|
|
|
|
# Grafana - Visualization
|
|
grafana:
|
|
image: grafana/grafana:10.0.3
|
|
container_name: soundex-grafana
|
|
restart: unless-stopped
|
|
environment:
|
|
- GF_SECURITY_ADMIN_USER=admin
|
|
- GF_SECURITY_ADMIN_PASSWORD=admin
|
|
- GF_USERS_ALLOW_SIGN_UP=false
|
|
volumes:
|
|
- grafana_data:/var/lib/grafana
|
|
- ./monitoring/grafana/provisioning:/etc/grafana/provisioning:ro
|
|
ports:
|
|
- "3001:3000"
|
|
depends_on:
|
|
- prometheus
|
|
networks:
|
|
- monitoring
|
|
|
|
# Redis Exporter - Redis metrics
|
|
redis-exporter:
|
|
image: oliver006/redis_exporter:v1.54.0
|
|
container_name: soundex-redis-exporter
|
|
restart: unless-stopped
|
|
environment:
|
|
- REDIS_ADDR=redis://redis:6379
|
|
ports:
|
|
- "9121:9121"
|
|
depends_on:
|
|
- redis
|
|
networks:
|
|
- monitoring
|
|
- default
|
|
|
|
volumes:
|
|
prometheus_data:
|
|
grafana_data:
|
|
|
|
networks:
|
|
monitoring:
|
|
driver: bridge
|