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,19 @@
[Unit]
Description=Awesome Database Indexing
After=network.target docker.service
[Service]
Type=oneshot
User={{USER}}
WorkingDirectory={{WORK_DIR}}
ExecStart={{SCRIPT_PATH}}
StandardOutput=journal
StandardError=journal
# Restart on failure
Restart=on-failure
RestartSec=300
# Resource limits (optional)
# MemoryMax=2G
# CPUQuota=50%