Skip to content
neatploy.
Build & deploy

Environments and previews

Environments keep stages of a project cleanly isolated. Every project starts with a production environment tracking your repository’s default branch, and you can add staging or custom environments with their own private network, domains, and variables.

Service membership per environment

A service belongs strictly to the environments it has been added to. Creating a service in staging does not add it to production until you promote or add it there.

When you add a staging environment, you only need to pick a Git branch; Neatploy copies the service settings and variables from production so you can adjust secrets or resource sizes independently.

Password protection

Non-production environments are automatically excluded from search indexing with X-Robots-Tag: noindex. You can also toggle password protection on any environment in Project → Environments so Caddy enforces HTTP Basic authentication across every hostname in that environment.

Pull request previews

Where preview environments are enabled for a repository, temporary pr-<n> environments are created when a pull request opens against the production branch and deleted automatically when the PR closes or after seven days without a commit.

  • Previews are never created for fork pull requests.
  • Preview variables are copied from staging when present, otherwise from production.
  • Preview databases start empty.
  • Organisations enforce a default cap of 3 concurrent previews; once reached, new previews wait until an existing slot closes and a new commit arrives.