.env.
Before you deploy
1
Configure the production environment
Base a production
.env on .env.prod. Set APP_ENV=prod and APP_DEBUG=false, a real APP_URL, strong database and Redis credentials, and your SMTP settings for outgoing mail.2
Build assets for production
3
Start the production stack
make prod-logs follows the logs; make prod-down stops it.4
Migrate and seed
Run the migrations against the production database. Seed only the data you actually want live — the demo seeders are for development.
Checklist
APP_DEBUG=false— no verbose errors or profiler in production.- Change the demo administrator password (or don’t seed the demo admin at all).
- Put the store behind HTTPS (a reverse proxy such as Caddy or nginx with TLS).
- Set up backups of the PostgreSQL volume.
- Configure real SMTP so order and account emails are delivered.