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:
15
deploy/awesome-index.timer.template
Normal file
15
deploy/awesome-index.timer.template
Normal 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
|
||||
Reference in New Issue
Block a user