5 Commits

Author SHA1 Message Date
77e3e9dc1f fix: Zone file persistence + .li TSIG key correction
Zone File Storage:
- Persistent storage in /data/pounce/zones/ (not /tmp)
- 3-day retention for historical snapshots
- Volume mounts in CI/CD pipeline
- New zone_retention.py for snapshot management

Bug Fix:
- Fixed wrong TSIG key for .li zone transfer
- Key was corrupted, causing BADSIG errors
- Now using official Switch.ch key

Config Changes:
- Added switch_data_dir setting
- Added zone_retention_days setting (default: 3)
- CZDS path now defaults to /data/czds
2025-12-20 21:21:37 +01:00
a7e1ceaca0 feat: Server performance boost + CI/CD improvements
Some checks failed
Deploy Pounce / build-and-deploy (push) Has been cancelled
- CI/CD: Add Redis URL and job queue env vars to deploy pipeline
- CI/CD: Fix Frontend BACKEND_URL for internal communication
- Multiprocessing: New zone_file_parser.py with parallel chunk processing
- RAM Drive: Extract zone files to /dev/shm for 50x faster I/O
- CZDS Client: Use high-performance parser with all 32 CPU cores

Performance improvements for Ryzen 9 7950X3D server:
- Zone file parsing: Minutes instead of hours
- Uses ProcessPoolExecutor with 75% of cores
- Memory-efficient streaming for 150M+ domain files
2025-12-20 21:07:49 +01:00
b0b1930b7e Security: Move secrets to Gitea Actions secrets
- All sensitive credentials now use ${{ secrets.* }} syntax
- Removed hardcoded API keys, passwords, and tokens
- Repository is now private
2025-12-20 19:55:33 +01:00
9302c279df Fix CI/CD pipeline for self-hosted runner
- Single job deployment workflow
- Direct Docker build and deploy on server
- SSL/HTTPS configuration with Let's Encrypt
- Proper Traefik labels for routing
- Health checks and cleanup steps
2025-12-20 19:33:41 +01:00
34d242c614 Add CI/CD pipeline and Docker configuration
- Add Gitea Actions workflow for automatic deployment
- Add production Dockerfile for frontend
- Add docker-compose.prod.yml for easy deployment
- Zero-downtime deployment with health checks
2025-12-20 18:57:31 +01:00