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