Integrate Claude Router v1.1.0 as a new service in the main docker-compose stack: Features: - Smart API router with automatic failover between Claude Pro and Claude API - Scheduled health checks every hour (0-4 minutes) to detect quota recovery - Intelligent auto-switch back to Claude Pro when available - Manual health check endpoint for immediate testing - Complete documentation and Docker containerization - Compatible with Claude Code CLI Changes: - Add router/ subdirectory with complete Claude Router project - Integrate claude-router service into main docker-compose.yml - Resolve port conflict (move SillyTavern to 8002, Claude Router uses 8000) - Update .gitignore for router-specific exclusions The router automatically detects when Claude Pro quota is restored and switches back to prioritize the premium service. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
390 B
Plaintext
32 lines
390 B
Plaintext
# Ignore all data directories
|
|
*/data/
|
|
*/postgres/
|
|
*/vw-data/
|
|
*/*.db
|
|
*/*.sqlite
|
|
*/logs/
|
|
*/db_data/
|
|
*/caddy_data/
|
|
*/caddy_config/
|
|
*/config/
|
|
|
|
# Ignore environment files
|
|
.env
|
|
.env.local
|
|
|
|
# Ignore temporary files
|
|
*.tmp
|
|
*.log
|
|
|
|
# Ignore HA specific directories
|
|
HA/config/
|
|
HA/db_data/
|
|
|
|
# Router specific ignores
|
|
router/__pycache__/
|
|
router/venv/
|
|
router/*.pyc
|
|
router/*.log
|
|
|
|
# Keep structure
|
|
!.gitkeep |