GrowthBook
Feature flags and experimentation platform with product analytics.
- Replaces
-
Paid feature flag and A/B testing services, such as LaunchDarkly and Optimizely.
All open-source alternatives to LaunchDarkly, Optimizely
- Difficulty
-
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.
- Stack
TypeScript (language), MongoDB (database)
- Deployment
docker_compose
- Requirements
Not stated.
- License
-
MIT(OSI-approved open source)Read from github.com/growthbook/growthbook/blob/e404814/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: github.com/growthbook/growthbook/blob/e404814/README.md, read on .
- Repository
GitHub stats
- Stars
- 8,523
- Forks
- 884
- Open issues and pull requests
- 844
- Last push
- 2026-10-22
- Latest release
- v5.1.0
- Released
- 2026-09-22
From the GitHub API on . These numbers are a snapshot, not live. GitHub detected the license as MIT.
Compose file
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:
From the app's own repository: github.com/growthbook/growthbook/blob/e404814/docker-compose.yml.
Compose file from the app repository.
Install
- Docker with the Compose plugin (github.com/growthbook/growthbook/blob/e404814/docker-compose.yml)
A host with Docker and the Docker Compose plugin. This entry runs from a compose file.
- Save the compose file as docker-compose.yml (github.com/growthbook/growthbook/blob/e404814/docker-compose.yml)
Use the compose file shown above.
- Set the values the compose file needs (github.com/growthbook/growthbook/blob/e404814/docker-compose.yml)
Replace the placeholder values listed under Gotchas.
- Start it (github.com/growthbook/growthbook/blob/e404814/docker-compose.yml)
docker compose up -d - Open the app (github.com/growthbook/growthbook/blob/e404814/docker-compose.yml)
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. (github.com/growthbook/growthbook/blob/e404814/docker-compose.yml, checked 2026-10-22)
- The compose file has placeholder values. Placeholder values: MONGO_INITDB_ROOT_PASSWORD is "password" (mongo). (github.com/growthbook/growthbook/blob/e404814/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. (github.com/growthbook/growthbook/blob/e404814/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/. (github.com/growthbook/growthbook/blob/e404814/LICENSE, checked 2026-10-22)
Signals
- Open issues and pull requests: 844
- Last push: 2026-10-22 (0 days before this page was built)
- Latest release: v5.1.0 on 2026-09-22 (29 days before this page was built)