Initial commit: Project foundation

- Backend: Go API server with Gin framework
- Frontend: React setup (placeholder)
- ML Service: Python FastAPI skeleton
- Docker Compose: Full stack configuration
- Database: PostgreSQL schema with migrations
- Documentation: Implementation plan and README

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude Code
2026-02-05 00:44:11 +03:00
commit 7043429150
24 changed files with 2359 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
server:
port: 8080
read_timeout: 30s
write_timeout: 30s
database:
host: ${DB_HOST:postgres}
port: ${DB_PORT:5432}
name: ${DB_NAME:vlogs_manager}
user: ${DB_USER:vlogs}
password: ${DB_PASSWORD}
max_connections: 25
victorialogs:
url: ${VLOGS_URL:http://victorialogs:9428}
timeout: 30s
max_query_size: 10000
vmalert:
url: ${VMALERT_URL:http://vmalert:8880}
rules_dir: ${VMALERT_RULES_DIR:/app/rules}
reload_endpoint: "/-/reload"
ml_service:
url: ${ML_SERVICE_URL:http://ml-service:8000}
timeout: 60s
auth:
jwt_secret: ${JWT_SECRET}
access_token_duration: 15m
refresh_token_duration: 168h
rate_limiting:
enabled: true
requests_per_minute:
admin: 1000
editor: 500
analyst: 300
viewer: 200