feat: add VPS deployment automation with systemd templates

Add automated VPS deployment system for remote database indexing:
- Interactive setup script with SSH deployment
- Systemd service/timer templates for daily scheduling
- Indexing script with Docker container support
- Comprehensive README documentation

Features:
- Automated daily indexing on remote servers
- Optional Docker container deployment
- Configurable paths, schedules, and incremental mode
- Full monitoring and management commands
- Troubleshooting guide for common issues

Usage: cd deploy && ./setup-vps.sh

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
valknarness
2025-10-29 00:20:54 +01:00
parent 99cf83330c
commit 1b62269116
5 changed files with 498 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[Unit]
Description=Daily Awesome Database Indexing Timer
Requires=awesome-index.service
[Timer]
# Run daily at {{SCHEDULE_TIME}}
OnCalendar=daily
OnCalendar={{SCHEDULE_TIME}}
Persistent=true
# Random delay to avoid peak times (optional)
# RandomizedDelaySec=30min
[Install]
WantedBy=timers.target