DockerHoster: Self-hosted alternative to Vercel with auto-deployments
Описание и применение
DockerHoster — это самодостаточная альтернатива Vercel, позволяющая размещать более 20 сайтов на одном VPS за $12 в месяц. Решение использует Docker и nginx-proxy для автоматического развертывания при пуше в GitHub, поддерживая базы данных, cron-задачи и долгосрочные процессы, которые недоступны в serverless-архитектурах.
Задача
High per-project hosting fees on platforms like Vercel and limitations of serverless architectures (lack of support for databases, cronjobs, and long-running processes).
Результат
Successfully hosted 20+ websites on a single $12/month VPS with automated deployments, supporting various languages and frameworks (Next.js, Python, Rails, Go) and full Docker ecosystem access including databases and cronjobs.
Рабочий процесс
- Set up a VPS (e.g., DigitalOcean droplet with 2GB RAM).
- Install DockerHoster using a one-command setup.
- Configure nginx-proxy to automatically route traffic to Docker containers based on VIRTUAL_HOST.
- Add a GitHub Actions workflow and docker-compose.yml to the project repository.
- Push code to GitHub to trigger automatic deployment.
- Use Cloudflare for DNS, SSL, DDoS protection, and WAF.
Доказательства
Tested running 20+ sites on a 2GB RAM DigitalOcean droplet
host 20+ websites on a single $12/month VPS
- Дата записи: 2026-09-09T10:45:25.510Z