Flagsmith logo

Flagsmith

BSD-3-Clause
Top open-source alternative to LaunchDarkly

Flagsmith is an open-source feature flag platform with remote config, experimentation, and self-hosted or cloud deployment options.

Tech StackPython, Django, PostgreSQL
Self-Host DifficultyEasy
License ModelBSD-3-Clause
GitHub RepositoryFlagsmith/flagsmith

Recommended VPS & Hardware Sizing

Estimated Hosting: $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean)
Min RAM:1 GB
Rec RAM:2 GB
Compute:1 vCPU
Disk Space:10 GB SSD

Flagsmith vs LaunchDarkly Comparison Matrix

Evaluation CriteriaFlagsmith (Open Source)LaunchDarkly (Proprietary)
Uptime IndependenceZero reliance on external vendor uptimeLaunchDarkly cloud outages can block app booting
INTERACTIVE TCO MODELEstimated Rate: $12/user/mo

Financial Impact: Migrating from LaunchDarkly to Self-Hosted Flagsmith

Detailed Stack Calculator →
5 Users (Early Startup)50 Users (Scaleup)200 Users (Enterprise Org)
LaunchDarkly (Cloud SaaS)Per-Seat Tax
$3,600per year ($300/mo)
3-Year Spend:$10,800

* Excludes enterprise SSO add-ons & usage overages

Flagsmith (Self-Hosted)Zero Per-Seat Fee
$120per year ($10/mo Linux VPS)
3-Year Compute:$360

* Commodity Hetzner / DigitalOcean compute instance

Cumulative 3-Year ROI+$10,440Net savings across 36 months (97% reduction)
Annual Free Cash:+$3,480/yr
Need C-Level Buy-In? Generate an instant ROI proposal memo to present to your CTO or CFO.

Core Capabilities & Features

✓Feature Flags & Remote App Config
✓User Segmenting & Identity Rules
✓Change Auditing & Team Permissions
✓On-Premises or Private Cloud Hosting

Self-Host Flagsmith with Docker Compose

Tweak configuration ports, secrets, and volumes live. Download or copy your ready-to-run container file:

1-Click Docker Compose Generator

Generate production-ready container definitions with customizable ports and volumes.

FlagsmithBSD-3-Clause

Open-source feature flags and remote configuration service

Difficulty: Easy6,592 ⭐
Configure Parameters
docker-compose.flagsmith.yml
version: '3.8'

services:
  flagsmith:
    image: flagsmith/flagsmith:latest
    restart: unless-stopped
    ports:
      - "${PORT:-8000}:8000"
    environment:
      - DJANGO_ALLOWED_HOSTS=*
      - DATABASE_URL=postgres://flagsmith:${DB_PASSWORD:-flagsmith_pass}@db:5432/flagsmith
    depends_on:
      - db

  db:
    image: postgres:15-alpine
    restart: unless-stopped
    environment:
      - POSTGRES_USER=flagsmith
      - POSTGRES_PASSWORD=${DB_PASSWORD:-flagsmith_pass}
      - POSTGRES_DB=flagsmith
    volumes:
      - flagsmith_pgdata:/var/lib/postgresql/data

volumes:
  flagsmith_pgdata:

Frequently Asked Questions: Self-Hosting Flagsmith

How do I self-host Flagsmith using Docker Compose?

You can deploy Flagsmith (Flagsmith/flagsmith) on any Linux server by copying the docker-compose.yml template on this page, configuring your desired host port and persistent volume directory, and running 'docker compose up -d'.

How does Flagsmith compare to LaunchDarkly?

Flagsmith is an open-source, self-hosted alternative to LaunchDarkly built with Python, Django, PostgreSQL. Unlike LaunchDarkly ($12 / seat / month + MAU overage charges), Flagsmith has zero per-user licensing fees and keeps 100% of your data on your own infrastructure.

What are the minimum VPS RAM and CPU requirements for Flagsmith?

For production self-hosting (Easy difficulty tier), we recommend at least 2 GB RAM (minimum 1 GB), 1 vCPU, and 10 GB SSD storage, which typically costs $4 - $6/mo (e.g. Hetzner CX22 or DigitalOcean).

Is Flagsmith free for commercial business use under the BSD-3-Clause license?

Yes. Distributed under the BSD-3-Clause license, Flagsmith can be self-hosted internally by businesses and engineering teams of any size without per-seat royalties.

README INTEGRATION // REPO EMBED

Embed Official Flagsmith Badge in GitHub README

Served locally from OSSMatrix with Cloudflare global edge caching. Real-time verified alternative status, zero third-party dependencies, sub-5ms load time.

Live Preview:Flagsmith Badge
Markdown Embed (GitHub / GitLab)
[![OSSMatrix Alternative](https://ossmatrix.com/api/badge/flagsmith)](https://ossmatrix.com/project/flagsmith)
HTML Embed (Docs / Landing Pages)
<a href="https://ossmatrix.com/project/flagsmith" target="_blank" rel="noopener noreferrer"><img src="https://ossmatrix.com/api/badge/flagsmith" alt="Flagsmith on OSSMatrix" /></a>
SIMILAR REPOSITORIES // PEER COMPARISON

Compare Flagsmith with Other Self-Hosted Alternatives

All LaunchDarkly Alternatives →