Template to deploy a Laravel app to a server managed by CapRover.
jack.bryce-smith.com/💡/laravel-docker-caprover
- 🐳 Lightweight PHP 7.4 image with common extensions; add/remove as required
- 📦 Installs composer dependencies; cached between builds if no changes
- ⚡️ Served via Caddy 2
- ⏰ Setup to call the Laravel command scheduler
- 🛰 Straightforward websockets support
- 💪 Services will restart thanks to supervisord
- Install Laravel, e.g.
laravel new -f .
- jack.bryce-smith.com/💡/laravel-docker-caprover
- Deploy to CapRover, e.g.
caprover deploy