Skip to main content
An environment is one running copy of your app: its own service, its own URL, its own configuration, its own database and add-ons. Everything hosting does (deploys, logs, metrics, secrets) is scoped to one.

Types

Production is created with the app. The others are opt-in: pick them in Hosting the first time you need them. That provisions a separate service, domain, database and secrets, scaled to zero when idle. An environment’s type is fixed when it is created. Updating its settings does not let you turn Development or Staging into Production, or change Production into another type.

Bringing a build forward

A build moves through your environments in order, without being rebuilt:
  • Private, Lite and Pro: Development, then Production.
  • Enterprise: Development, then Staging, then Production. A build brought forward from Development can’t skip Staging.
An app that has a Staging environment always brings builds through it, whatever the plan, so Development shows Bring to staging and Staging shows Bring to production. With only Development and Production, Development shows Bring to production. Development and Staging have a Bring to staging or Bring to production button. It takes the build that environment is running and deploys that same image to the next environment, which keeps its own settings, secrets, database and add-ons. Bringing a build to production needs the hosting.promote permission. If the next environment doesn’t exist yet, the button creates it first. Its database is set up before anything deploys, so the deployment shows as waiting until the database is ready, then starts on its own. A new environment starts with no secrets of its own. Values set for All environments apply to it, but values set Only for another environment do not: add any the app needs before it serves traffic. The confirm dialog lists the keys set only for the source environment that the target will not have. Environment-scoped variables, databases, and add-ons belong to that environment. Promoting a build does not copy configuration across environments. App-level variables and managed app credentials can be shared across environments. See Scope and precedence.

When staging is required

Never, to deploy. Staging only changes the path of a build you bring forward:
  • No app needs Staging to reach production. A deploy started on Production (from Hosting or the Meridian MCP) or an automatic deploy from a push goes straight there on every plan, Enterprise included. Deploying to Production needs the hosting.edit and hosting.promote permissions.
  • Staging is never created on its own. An Enterprise app starts with Production only, like any app. Staging appears when you add it in Hosting, or when Bring to staging creates it.
  • Once Staging is in the path, bringing forward goes through it. On an Enterprise plan, or as soon as the app has a Staging environment, Development brings its build to Staging, and only Staging brings it to Production.
  • Only Enterprise can add Staging. Private, Lite and Pro include no Staging environment, so adding one is refused.

App environments and platform staging

An app’s Staging environment is a deployment target within the Meridian platform you use. It does not switch your app to Meridian’s separate staging platform. Meridian injects MERIDIAN_API_URL for the platform hosting your app. When testing against the Meridian staging platform from local development or another host, set it to https://staging.the-meridian.ai/staging and use that platform’s app credentials. The SDK appends /api/public to this root. The Meridian MCP server at mcp.the-meridian.ai accesses production-platform apps only. See Credentials and environment for the automatically injected variables and manual overrides.

What an environment holds

Placement and addressing
  • A region: the app’s region, shared by every environment of the app and fixed for good. See Region.
  • A base URL, which is the platform domain Meridian provisions (see Default domain), plus any custom domain you attach.
  • A container port (3000 when left empty, see Container port) and a health check path (/health by default). Meridian calls it to verify a new revision only when Cloud Run cannot report the revision ready, and pull request previews use the production environment’s. See Health checks and traffic.
  • An optional release command, run once per deploy before the new revision is created. Usually your database migrations. See Deployment.
Capacity
  • CPU and memory per instance. When you leave them unset, production runs at its hosting size (1 vCPU and 512 MiB on Private, Lite and Pro, 2 vCPU and 1 GiB with Medium, 2 vCPU and 2 GiB with Large) and staging and development run at 1 vCPU and 512 MiB. A value you set is kept, lowered to the plan’s ceiling if it is above it.
  • Maximum instances and concurrency (see Autoscaling). The minimum is not a setting: every environment scales to zero unless it has the always-on server, which Meridian sets up on Enterprise. Hosting > Settings shows whether the environment is Always-on (On or Off), read-only.
  • A request timeout.
Data and services

Region

Every environment of an app runs in the app’s region. Meridian chooses it when it creates the app and its Production environment, and you can’t pick it. Apps are hosted in Europe today. The region can’t be changed. An environment you add later, Development or Staging, is created in the same region, and an existing environment never moves. A new app is placed the same way, so creating the app again does not take it out of Europe either. Moving an app you already run. The region sets how far your app is from its database and from the merchants it serves. If your current database is outside Europe, plan to move it to Meridian with the app, in a maintenance window, rather than leave the app calling a database on another continent on every request.

Configuration takes effect on deploy

Changing your variables and secrets, the health check path or the release command updates the environment’s desired state; the running revision changes when you next deploy. The dashboard shows Changes apply on the next deploy. until a deploy starts. The Shopify credentials, a rotated API key and a rotated webhook signing secret work the same way. See When changes take effect. Capacity is different. A change to the container port, CPU, memory, instances, concurrency or timeout reaches the live service shortly after you save it, with no deploy. Add-ons too: once Redis, Scheduler, storage or CDN finishes provisioning, Meridian updates the live revision with the new connection variables, so enabling one does not need a redeploy. An environment that has not been deployed yet picks both up with its first deploy.

Deleting one

Deleting a staging or development environment removes it for good, with everything it holds: its service and release job, its domains and routing, its database and add-ons, its secrets and variables, and its deployment history. It’s the one hosting action that takes data with it, and it can’t be undone. When the environment has a database, Meridian first asks you to confirm it’s you, as deleting the database itself does. To delete one, pick its tab in Hosting, open Settings and use Delete environment in the Danger zone card at the bottom. The card shows only to members with the Hosting: Delete permission. The button is disabled while a deploy is running on the environment. The confirmation lists what goes away (the service, the hostname, the variables, each add-on and each custom domain), and you type the environment’s type, development or staging, to confirm. Its database can’t be recovered afterwards, so download a backup first if you need its data. Once it’s deleted, its tab reads Not created, and its place on your plan is free again at once: you can create an environment of the same type right away. A staging environment kept from an earlier plan that no longer includes staging can’t be created again. If the app’s automatic deployments targeted the deleted environment, the target is set to none, so pushes deploy nothing until you choose a new one. The production environment can’t be deleted on its own. Its database holds your merchants’ data, so it only goes with the app: to remove production, delete the app. Its Danger zone card says so and has no delete button.
Developer databases for local work are a different thing entirely: per-developer, reached through the CLI, never shared with a teammate.
Last modified on November 16, 2026