
Self-hosting Flipt the easy way
Yulei ChenFlipt is an open-source feature flag tool that lets you manage feature rollouts, A/B tests, and remote configuration without relying on expensive SaaS platforms like LaunchDarkly or Split. Self-hosting means full control over your data and zero per-seat pricing.
Sliplane makes self-hosting painless. With one-click deployment, you can get Flipt up and running in minutes - no server setup, no reverse proxy config, no infrastructure headaches.
Prerequisites
Before deploying, ensure you have a Sliplane account (free trial available).
Quick start
Sliplane provides one-click deployment with presets.
- Click the deploy button above
- Select a project
- Select a server (If you just signed up you get a 48-hour free trial server)
- Click Deploy!
About the preset
The one-click deploy above uses Sliplane's Flipt preset. Here's what it includes:
- Official Flipt Docker image (
flipt/flipt) - Specific version tag for stability
- Persistent storage mounted to
/var/opt/fliptfor the SQLite database and configuration - Port 8080 exposed for the web UI and API
Flipt stores its data (flags, segments, rules) in a SQLite database by default. The persistent volume ensures your feature flags survive container restarts and redeployments.
Next steps
Once Flipt is running, access it using the domain Sliplane provided (e.g. flipt-xxxx.sliplane.app).
No default credentials
Flipt ships with no authentication enabled by default - you can access the UI right away. If you want to lock it down, configure authentication via environment variables:
| Setting | Description |
|---|---|
FLIPT_AUTHENTICATION_REQUIRED | Set to true to require authentication |
FLIPT_AUTHENTICATION_METHODS_TOKEN_ENABLED | Set to true to enable static token auth |
See the Flipt authentication docs for all available methods including OIDC and GitHub.
Key environment variables
You can customize Flipt's behavior by adding environment variables in your Sliplane service settings:
| Variable | Default | Description |
|---|---|---|
FLIPT_LOG_LEVEL | info | Log verbosity (debug, info, warn, error) |
FLIPT_DB_URL | file:/var/opt/flipt/flipt.db | Database connection string |
FLIPT_CORS_ENABLED | false | Enable CORS for the API |
FLIPT_STORAGE_TYPE | database | Storage backend (database, git, local, object) |
Logging
Flipt logs to stdout by default, which works well with Sliplane's built-in log viewer. Adjust the log level with FLIPT_LOG_LEVEL if you need more or less detail. For general Docker log tips, check out our post on how to use Docker logs.
Troubleshooting
If Flipt isn't starting properly, set FLIPT_LOG_LEVEL to debug for detailed output. Common issues include database permission errors (check your volume mount) and port conflicts. The Flipt configuration reference covers all available settings.
Cost comparison
You can also self-host Flipt with other cloud providers. Here is a pricing comparison for the most common ones:
| Provider | vCPU | RAM | Disk | Monthly Cost | Note |
|---|---|---|---|---|---|
| Sliplane | 2 | 2 GB | 40 GB | €9 (~$10.65) | Flat rate, 1 TB bandwidth, SSL included |
| Fly.io | 2 | 2 GB | 40 GB | ~$18 | Disk and bandwidth billed separately |
| Render | 1 | 2 GB | 40 GB | ~$35 | 100 GB bandwidth, Disk billed separately |
| Railway | 2 | 2 GB | 40 GB | ~$67 + $20 plan | Pro plan floor, usage-based, bandwidth billed separately |
Click here to see how these numbers were calculated.
(Assuming an always-on instance running 730 hrs/month)
- Sliplane: flat €9/month for the Base server. Unlimited services on the same server, 1 TB egress and SSL included.
- Fly.io:
shared-cpu-2x2 GB = $11.83/mo + 40 GB volume × $0.15/GB = $6 -> ~$17.83/mo. Egress billed separately ($0.02/GB in EU). - Render: closest match is Standard ($25, 1 vCPU / 2 GB) plus 40 GB disk × $0.25/GB = $10 -> ~$35/mo. Stepping up to Pro (2 vCPU / 4 GB) costs $85/mo + disk.
- Railway (Pro plan): CPU 2 × $0.00000772/s × 2,628,000 s = $40.57; RAM 2 × $0.00000386/s × 2,628,000 s = $20.29; volume 40 × $0.00000006/s × 2,628,000 s = $6.31 -> ~$67/mo compute, plus the $20/mo Pro plan floor and $0.05/GB egress.
Bandwidth costs can add up fast on usage-based providers. Use our bandwidth cost comparison tool to see what your egress would cost on each platform.
FAQ
What can I use Flipt for?
Flipt lets you toggle features on and off without redeploying your app. Common use cases include gradual rollouts, A/B testing, kill switches for broken features, and environment-specific configuration. It supports boolean flags, multi-variant flags, and percentage-based rollouts.
Can I connect Flipt to an external database?
Yes. By default Flipt uses SQLite, but you can switch to PostgreSQL, MySQL, or CockroachDB by setting the FLIPT_DB_URL environment variable. For example, use postgres://user:pass@postgres.internal:5432/flipt to connect to a PostgreSQL instance running on the same Sliplane server.
How do I update Flipt?
Change the image tag in your service settings on Sliplane and redeploy. Check Docker Hub for the latest stable version.
Are there alternatives to Flipt?
Yes, popular options include LaunchDarkly (fully managed, per-seat pricing), Unleash (open-source with hosted option), and Flagsmith (open-source with cloud offering). Flipt stands out for being fully open-source with no seat limits or usage restrictions.
Does Flipt support GitOps workflows?
Yes. Flipt can read feature flag definitions from a Git repository instead of (or in addition to) its database. This lets you keep your flags as code, review changes via pull requests, and use your existing CI/CD pipeline. Set FLIPT_STORAGE_TYPE to git and configure the repository URL to enable this.