Unleash
Feature flags you host yourself - managed Postgres, no per-seat or per-flag metering.
One-click deploy, from $13/mo on a Miget plan.
Unleash is a mature, open-source feature-flag platform: gradual rollouts, per-environment strategies, user targeting and segments, A/B experiments, and an admin UI that non-engineers can actually use. SDKs cover every major language and framework.
This template is the server plus a managed Postgres - that is the whole footprint. Flag state and configuration live in Postgres, so the API node stays stateless and the database is the single source of truth you back up.
It is the pricing story that makes flags worth self-hosting: hosted flag services meter you on monthly active users or per-connection, which scales with your traffic rather than your team. Here it is a flat plan, and every flag evaluation happens on infrastructure you own.
Upstream project: Unleash
#what you get
- Gradual rollouts, targeting, segments, and A/B experiments
- Per-environment strategies and an approachable admin UI
- Client and server SDKs for every major language
- API tokens for CI and edge evaluation
- All state in managed Postgres - stateless API node
- Apache-2.0 image; flags evaluated on your own infrastructure
#topology
| Service | Role | Public |
|---|---|---|
| unleash | flag API + admin UI (:5000) | yes |
| db | managed Postgres (flag state) | no |
#miget sizing
// this stack needs
1.5 GiB RAM · 5 GB disk · 2 services
The Node server is comfortable in 512 MiB; the Hobby plan covers it. Postgres is tiny - flag config, not bulk data.
Hobby - recommended fit
$13/mo
1 vCPU · 2 GiB · 50 GiB disk
Headroom for your own apps: 2 GiB at $19/mo
Professional - production
$22/mo
1 vCPU · 2 GiB · 10 GiB disk
Dedicated resources, production SLOs - plan details
One Miget plan is a fixed pool of compute - the whole stack (managed databases included) deploys inside it, and anything left over runs your other apps. No per-service or per-seat math.
#vs. the managed service
What the hosted equivalents charge, against the flat Miget plan this stack fits on. Prices as of June 2026, sources linked.
| Service | Plan | Monthly | What you get |
|---|---|---|---|
| Unleash on Miget ★ | 2 GiB plan | $13 | this whole stack, flat - no usage meters, and room left for your own apps |
| Statsig | Pro | ~$150 | from $150/mo |
| Flagsmith | Start-Up | ~$40 | $40/mo flat, then scales |
| LaunchDarkly | usage-based | usage-based | ~$10 per connection + per-MAU - scales with your traffic |
Flag services meter MAU or connections; Unleash self-hosted is flat and evaluates flags on your own infrastructure.
#vs. other PaaS
Estimated monthly cost of running this exact stack (1.5 GiB RAM, 5 GB disk, 2 containers) elsewhere, from published June 2026 rates.
| Platform | Est. monthly | Notes |
|---|---|---|
| Miget ★ | $13 flat | compose stacks first-class: one deploy, dedicated vCPU, managed Postgres/Valkey, volumes and TLS all included in the plan |
| Heroku | ~$75 | no volumes; nothing between 1 GB ($50) and 2.5 GB ($250) dynos - 2 GB containers cost far more than shown |
| DO App Platform | ~$23 | no persistent volumes - stateful containers need managed DBs/Spaces (base $5 Spaces included here) |
| Render | ~$20 | per-service instances (0.5 GB $7, 2 GB $25) - every container is its own paid service |
| Railway | ~$16 | usage-based ($10/GB RAM-mo); vCPU billed separately at $20/vCPU-mo on top |
| Fly.io | ~$10 | cheapest sticker price - but burstable shared CPUs (1/16 core; dedicated vCPUs cost ~2-3×), no compose deploys (one app per container, manual wiring), managed DBs billed extra |
Estimates assume RAM fully allocated at published on-demand rates - and sticker price isn't the whole comparison: the cheaper rows buy burstable shared CPUs, per-service wiring instead of a compose deploy, and managed databases billed separately. Heroku and DO App Platform have no persistent volumes at all - stateful stacks like this one need workarounds there.
#deploy it
On Miget
- Create a Compose Stack in app.miget.com pointing at the templates repository
- Set the stack path to
unleash -
Set the required variables:
INIT_ADMIN_API_TOKENS, bootstrap admin/API token, or use the admin loginDATABASE_URL, auto-wired to the managed Postgres
- Deploy. Miget layers
compose.miget.yaml(RAM, privacy, volumes, managed services) automatically
Locally first?
Every template is portable, vanilla Docker Compose - the Miget overrides are ignored locally:
git clone https://github.com/deployable-sh/stacks
cd miget-compose-templates/unleash
docker compose up -d Same files, same behavior. The template README covers connection strings and scaling notes.
#faq
What does this save vs LaunchDarkly or Flagsmith?
LaunchDarkly bills usage-based (roughly $10 per connection plus per-MAU charges), Flagsmith’s Start-Up plan is $40/month flat, and Statsig Pro starts around $150. Unleash self-hosted is one flat plan with no MAU or connection metering, no matter how much traffic evaluates your flags.
Is the self-hosted version crippled compared to the cloud one?
The open-source server covers flags, strategies, environments, segments, and the SDKs. Some enterprise governance features are paid, but the core flagging that most teams need is fully open and shipped here.
Where are flags evaluated?
SDKs fetch flag configuration from your Unleash server and evaluate locally in your app, so user data never leaves your infrastructure - a meaningful difference from sending every evaluation context to a third party.
Ship Unleash today
One compose stack, 1.5 GiB of RAM, from $13/month flat, and it runs on your laptop with the same files.