Masking rules · staging → previews
- users.emailfake email
- users.namefake name
- invoices.ibanremoved
- events.payloadkept
Data with no real people in it
Masking rules applied to every branch of staging.
Hangar builds each branch with its own database, queues and seed data, posts the link on the pull request, and deletes everything when it merges.
310,000 previews a month for 1,900 engineering teams
Previews
23 running · 4 building
feat/bulk-invoices · #1842
trellis-pr-1842.hangar.app · built from 9c1e4a2 · 3 min 12 s
Seed data is staging’s, with emails and names masked.
Activity
Comment on PR #1842
Preview readyRunning on Hangar
Every branch runs like production, with data.
Your services from the docker-compose file, a database branched from staging, queues and cron, behind one link.
Preview #1842
Each preview’s database is a copy-on-write branch of staging, masked, ready in seconds and deleted with the PR.
Database for #1842
Idle previews sleep after 30 minutes and wake on the next request, so 23 previews cost less than one staging server.
Preview cost per PR
$1.90
median, November
The app, its data and its link, from the pull request.
Masking rules · staging → previews
Masking rules applied to every branch of staging.
PR #1842 · review
Design, support and product, before merge.
Previews this week
23 live
96 built
Every preview this week, at a glance.
Connected
12 sourcesReads your compose file, posts where you review.
“We ran two staging servers that nobody trusted. Now each PR is its own.”
Diego Alvarez, Platform lead · OKAPI
−2staging servers
That merged their staging queue away.
[ On every push ]
Hangar builds the branch, branches the database from staging, masks it, runs your migrations and posts the link on the pull request.
[ Pricing ]
Sleeping previews are free.
Team
Most teamsProduct teams
$20per developer / month
Plus compute used
Connect GitHubNo. Hangar reads your docker compose file and runs it; nothing to install in your cluster.
A copy-on-write branch of your staging database, masked by rules you set, so it takes seconds and little space.
Nothing while they sleep; they wake on the next request in about four seconds.
Yes, on Enterprise, with the same dashboard.
Connect a repository and your next pull request gets a link with its own database.
5 previews free · no card
Your first day, in three steps