Deploy to a Single Server
Built your app with Laradock? Ship it to one server (a VPS, EC2 instance, or droplet) without changing your stack. ./laradock ship builds one self-contained image (nginx + php-fpm), and a ready Compose file runs it.
1. Build the image
./laradock ship # or: ./laradock ship registry/you/app:1.0 --push
2. Run it on the server
Laradock ships a ready compose.yml. On the server:
cp laradock/production/.env.example laradock/production/.env # fill real values
docker compose -f laradock/production/compose.yml up -d
Optional worker and scheduler are one flag away: --profile worker --profile scheduler.
Notes
- Managed database. Point
DB_*/REDIS_*at a managed service; the Compose file deliberately does not expose a database port. - HTTPS. Put a reverse proxy in front (Caddy or Traefik give you automatic TLS).
- Scaling past one box? Move to Kamal or Kubernetes, same image.
Deploying elsewhere? The full deploy guide covers every target, ECS, Cloud Run, Fly, Render, and more.