# GrowthBook

Feature flags and experimentation platform with product analytics.

- Replaces: [LaunchDarkly](https://openlogs.fyi/alternatives/launchdarkly), [Optimizely](https://openlogs.fyi/alternatives/optimizely)
- Summary: Paid feature flag and A/B testing services, such as LaunchDarkly and Optimizely.
- Stack: TypeScript (language), MongoDB (database)
- Deployment: docker_compose
- License: MIT (osi) [source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/LICENSE)
- Business model: open_core. The README says GrowthBook is an open core product: most of the code is under the MIT license, and some directories are under a separate commercial Enterprise License. ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/README.md), read 2026-10-22)
- Difficulty: medium. 2 services (1 database or broker: mongo), 2 volume mounts, no env values to set, no elevated host access. Heuristic score 3 of 11: medium.
- Requirements: not stated
- Repository: [growthbook/growthbook](https://github.com/growthbook/growthbook)

## Install

1. Docker with the Compose plugin ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml))

   ```text
   A host with Docker and the Docker Compose plugin. This entry runs from a compose file.
   ```

2. Save the compose file as docker-compose.yml ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml))

   ```yaml
   services:
     mongo:
       image: "mongo:latest"
       environment:
         - MONGO_INITDB_ROOT_USERNAME=root
         - MONGO_INITDB_ROOT_PASSWORD=password
       volumes:
         - mongodata:/data/db
     growthbook:
       image: "growthbook/growthbook:latest"
       ports:
         - "3000:3000"
         - "3100:3100"
       depends_on:
         - mongo
       environment:
         - MONGODB_URI=mongodb://root:password@mongo:27017/growthbook?authSource=admin
       volumes:
         - uploads:/usr/local/src/app/packages/back-end/uploads
   volumes:
     uploads:
     mongodata:
   ```

3. Set the values the compose file needs ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml))

   ```text
   Replace the placeholder values listed under Gotchas.
   ```

4. Start it ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml))

   ```bash
   docker compose up -d
   ```

5. Open the app ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml))

   ```text
   Open http://localhost:3000. The compose file publishes host port 3000 for the growthbook service.
   ```

Compose file check: config_ok on 2026-10-22.

## Gotchas and maintenance

### Gotchas

- Some images use the latest tag or no tag: Images without a pinned version: mongo: mongo:latest, growthbook: growthbook/growthbook:latest. A later pull can get a different version. ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml), checked 2026-10-22)
- The compose file has placeholder values: Placeholder values: MONGO_INITDB_ROOT_PASSWORD is "password" (mongo). ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml), checked 2026-10-22)
- The compose file publishes host ports: Host ports: 3000 (growthbook), 3100 (growthbook). A port without a host address listens on all host network interfaces. ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml), checked 2026-10-22)
- Some directories have a different license: The LICENSE file says some parts of the repository are under another license. Everything else is under the MIT license. Directories named in the file: packages/back-end/src/enterprise/, packages/front-end/enterprise/, packages/shared/src/enterprise/. ([source](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/LICENSE), checked 2026-10-22)

### Signals

Computed from a GitHub snapshot taken 2026-10-22.

- Open issues and pull requests: 844
- Stars: 8523, forks: 884
- Last push: 2026-10-22 (0 days ago)
- Latest release: v5.1.0 on 2026-09-22 (29 days ago)

## Sources

- [Repository: https://github.com/growthbook/growthbook](https://github.com/growthbook/growthbook)
- [License: https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/LICENSE](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/LICENSE)
- [Business model: https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/README.md](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/README.md)
- [Compose file: https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml](https://github.com/growthbook/growthbook/blob/e4048144480dfbf69d4c4821ce40dc00102e8d76/docker-compose.yml)

---
Canonical: https://openlogs.fyi/tools/growthbook  
Last updated: 2026-10-22
