VPS Deployment
Deploying a bot or service to a VPS: Docker, HTTPS, auto-deploy, backups
Task
Ready-made kits that keep your bot or service running reliably on your VPS without manual babysitting.
What was done
- Bot + PostgreSQL + Redis in docker compose: starts after the database health check and migrations, restarts on crash, memory limits, log rotation, auto-start after reboot.
- HTTPS behind nginx: a free Let's Encrypt certificate with auto-renewal, HSTS, TLS 1.2/1.3, rate limiting, a protected bot webhook.
- Auto-deploy from GitHub: tests, image build, deploy over SSH and automatic rollback if the new version fails to start.
- Backups and monitoring: nightly PostgreSQL backups to S3 with rotation and a restore script, site, container and disk checks with Telegram alerts, basic server hardening.
Screenshots
Bot + PostgreSQL + Redis in docker compose: starts after the database health check and migrations, restarts on crash, memory limits, log rotation, auto-start after reboot. HTTPS behind nginx: a free Let's Encrypt certificate with auto-renewal, HSTS, TLS 1.2/1.3, rate limiting, a protected bot webhook. Auto-deploy from GitHub: tests, image build, deploy over SSH and automatic rollback if the new version fails to start. Backups and monitoring: nightly PostgreSQL backups to S3 with rotation and a restore script, site, container and disk checks with Telegram alerts, basic server hardening.
Need something similar?
Tell me what needs to be built — I'll reply with how to approach it for your case and how long it will take.