Miget is now Lyngbak. Same platform, same plans, same API.Why the name →

Startups get $300 or more in Lyngbak credits.Apply →

Moving production infrastructure? We migrate it for you, free.Talk to us →

PricingEnterpriseDashboard
Start for Free
← All templates

Open Mercato

The AI-engineering foundation framework - multi-tenant CRM/ERP/commerce modules that start your business app at 80% done.

5.5 GiB

4 services, 20 GB disk

$36.50/mo

flat resource

$0.084/h

Usage Billing

What is Open Mercato?

Open Mercato is built on an observation about AI-assisted teams: code assistants generate code fine, but someone still has to decide where it goes. The framework ships those decisions - module layout, multi-tenancy, RBAC, event flow, CRM/ERP/commerce domain models - as conventions and specs checked into the repo, so agents (and juniors) extend it without reinventing architecture.

Practically, you get business-app building blocks at "80% done": CRM entities, sales pipeline, order management, dynamic forms, organization trees, feature-flag RBAC - on a modern stack (Next.js, TypeScript, MikroORM) with Postgres+pgvector, a Valkey cache, and Meilisearch behind it.

This template mirrors the official full-app topology. Upstream publishes no images yet, so the app builds from the official repo on deploy - which is also why this one wears the experimental badge: pre-1.0, moving fast, and very much worth watching.

What you get

  • CRM/ERP/commerce domain modules: customers, pipeline, orders, CPQ
  • Multi-tenant with organization trees and feature-based RBAC
  • Dynamic entities and forms managed live from the admin
  • AI-agent-ready repo: specs and skills ship with the code
  • Postgres + pgvector, Valkey cache, Meilisearch wired in
  • MIT licensed - no per-seat pricing trap by design

How it runs on Lyngbak

ServiceRolePublic
appNext.js app + admin at /backend (:5000)yes
dbPostgres + pgvector (extension required - not the managed Postgres)no
cacheValkey, bounded LRU cacheno
searchMeilisearch v1.11no

Before you deploy

  • JWT_SECRET / MEILISEARCH_MASTER_KEY / TENANT_DATA_ENCRYPTION_KEY

    core secrets (openssl one-liners in the template)

  • OM_INIT_SUPERADMIN_EMAIL / OM_INIT_SUPERADMIN_PASSWORD

    superadmin created on first init

  • APP_URL

    set to the app’s https domain after first deploy

Sizing and billing

The Next.js app wants real heap (2.5 GB allocated); first deploy builds the monorepo from source, so expect a long initial build. Pin a commit in compose.yaml for reproducible deploys.

Hobby resource$36.50/mo2 vCPU, 4 GiB + 1.5 GiB RAM add-on, 80 GiB disk, shared CPU
Pro resource$59/mo2 vCPU, 4 GiB + 2 GiB RAM add-on, 25 GiB disk, dedicated CPU
Usage Billing, shared CPU$0.084/h3.5 vCPU, 6.5 GiB reserved. $60.50/mo for a full month, billed by the second.
Usage Billing, dedicated CPU$0.24/h5 vCPU, 10 GiB reserved. $170/mo for a full month, billed by the second.

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 19.63 GiB of volumes cost $0.15 per GiB a month ($2.94/mo) for as long as they exist. One workspace can use both. See pricing

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

Is Open Mercato a shop, a CRM, or a framework?

A foundation framework with domain modules: you assemble CRM, ERP, B2B-portal, or commerce-backend apps from ready pieces and extend them - ideally with AI agents, which the repo structure is explicitly designed for. If you want a turnkey storefront, PrestaShop in this catalogue is that; Open Mercato is what agencies build bespoke systems on.

Why does it build from source?

Upstream publishes no container images yet (pre-1.0). The template uses a git build context against the official repo with their own Dockerfile, so deploys track upstream. Pin a tag or commit in compose.yaml once you go to production.

Why not the managed Postgres?

Open Mercato uses pgvector for its hybrid indexing and AI features, and managed Postgres offerings do not ship the extension - so the template runs the pgvector image as a private container with its own volume.

Who is behind it?

Catch The Tornado - the team of Piotr and Tomasz Karwatka, previously of Divante and Vue Storefront. MIT-licensed, launched 2025, moving quickly; treat version pins seriously and read upstream release notes before redeploying.

More in Internal Tools

Appsmith

The open-source internal-tool builder - drag-and-drop UI over your databases and APIs, unlimited users, no per-seat bill.

Open the template →

Budibase

Low-code apps, forms, and approval workflows - the all-in-one image with zero required configuration.

Open the template →

NocoDB

The open-source Airtable alternative - smart spreadsheet over a real Postgres, no seat or record metering.

Open the template →
Open Mercato: AI-ready CRM/ERP foundation framework | Lyngbak (formerly Miget)