What is Bagisto?
Bagisto is the ecommerce platform for teams that live in Laravel: a full store - catalog, cart, checkout, multi-channel, multi-currency, admin, and a theme/extension system - built on the framework your PHP developers already know. MIT-licensed, so customizing it deeply is just writing Laravel.
This template runs the official all-in-one image in external-DB mode (pointing DB_HOST at the separate MySQL container auto-disables the bundled one) behind a thin nginx proxy. APP_KEY is set explicitly so sessions and encrypted data survive redeploys.
Like the other stores here, the pitch is zero platform fees: Shopify Basic is a monthly subscription plus per-transaction cuts; Bagisto self-hosted takes nothing per sale. It is MySQL-only (no Postgres), which the bundled MySQL container covers.
What you get
- Full storefront: catalog, cart, checkout, multi-channel, multi-currency
- Laravel-native - extend in PHP, not a DSL
- Theme system, admin, and an extension marketplace
- Self-hosted MySQL container (external-DB mode disables the image’s bundled one)
- Headless GraphQL API available
- MIT licensed - no platform or GMV fees
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
bagisto | storefront + admin at /admin (:80) | no |
web | nginx :5000 -> bagisto:80 | yes |
db | MySQL 8 container (local and on Lyngbak) | no |
Before you deploy
APP_KEYbase64 key set explicitly (or sessions break on redeploy)
APP_URLthe app’s https domain
Sizing and billing
2 GiB suits a typical store; the storage volume holds media and cache. MySQL-only - pair with MySQL, not Postgres.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 14.65 GiB of volumes cost $0.15 per GiB a month ($2.20/mo) for as long as they exist. One workspace can use both. See pricing
Compared with the managed service
| Service | Plan | Price | Includes |
|---|---|---|---|
| Shopify | Basic | $39/mo | $39/mo ($29 annual) + 2.9% + 30¢ per transaction |
| BigCommerce | Core | $39/mo | $39/mo ($29 annual); auto-upgrades past $30K trailing GMV |
Self-hosted Bagisto has no platform fee and no GMV cut - your payment-gateway rates only. Prices from each vendor's pricing page, June 2026.
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
Bagisto, PrestaShop, or Saleor?
Bagisto if your team builds in Laravel/PHP and wants to extend the store in code. PrestaShop for a turnkey European storefront with a module marketplace. Saleor for headless GraphQL with a custom frontend. All three self-host here with no platform fees.
Why set APP_KEY explicitly?
Laravel uses APP_KEY to encrypt sessions and sensitive data. The image auto-generates one per boot if unset - which would invalidate everything on each redeploy. Set a fixed base64 key (the env example has the one-liner) and state survives.
Does it use the image’s bundled MySQL?
No - the all-in-one image bundles a MySQL, but this template disables it (external-DB mode, DB_HOST off-localhost) and runs a separate MySQL 8 container instead, so the database persists cleanly on its own volume. The app’s storage volume holds media and cache.