HUB
Sign inSign up

featurehub/mr

By featurehub

•Updated 4 months ago

FeatureHub Management Repository: Admin app and admin API

Image
0

100K+

featurehub/mr repository overview

⁠FeatureHub Management Repository (MR)

The Management Repository is the FeatureHub admin server and the source of truth for the platform. It serves:

  • the Admin web app (the Flutter admin console)
  • the MR API, which manages portfolios, applications, environments, features, rollout strategies, users, groups and service accounts
  • user login through local passwords, OAuth2 or SAML

MR stores its data in a relational database. It publishes changes to Dacha and Edge over an async layer (NATS, Kafka or Google Pub/Sub). SDK clients do not talk to MR, so if MR goes down, feature delivery keeps working. See Architecture – Management Repository⁠.

Use this image when you split FeatureHub into separate services, either with dacha2⁠ and edge⁠ for streaming (Option 2a⁠), or with edge-rest⁠ for REST only (Option 2b⁠). For a single-container install, use party-server⁠.

Full documentation: https://docs.featurehub.io⁠

⁠Running

Docker Compose examples live in featurehub-install⁠ (for example docker-compose-options/all-separate-postgres). Production Kubernetes deployments use the Helm chart⁠.

docker run -p 8085:8085 --user 999:999 \
  -e db.url=jdbc:postgresql://db:5432/featurehub -e db.username=featurehub -e db.password=secret \
  -e nats.urls=nats://nats:4222 \
  featurehub/mr:latest

⁠Ports

PortPurpose
8085Admin web app and MR API (server.port)
8701Prometheus metrics and health checks (monitor.port)

⁠Configuration

You can set any configuration property as an environment variable with the same name and case. You can also mount /etc/app-config/application.properties and /etc/app-config/secrets.properties. See Run configuration⁠.

PropertyDescription
db.url, db.username, db.password, db.minConnections, db.maxConnectionsDatabase connection. See Database configuration⁠.
dacha1.enabled, dacha2.enabledChoose which cache MR publishes to. For Dacha2 (recommended), set dacha1.enabled=false and dacha2.enabled=true. See Async options⁠.
nats.urlsNATS servers. For Kafka or Google Pub/Sub settings, see Async options⁠.
mr.dacha2.api-keysExposes the Dacha2 cache-fill endpoint on the public interface, protected by these keys. See Dacha2 Config⁠.
webhooks.encryption.password, webhooks.decryption.enabledEncryption of Slack tokens and webhook secrets. See Encryption⁠.
webhooks.features.enabled, enricher.enabledTurn webhooks on or off. See Webhooks configuration⁠.
portfolio.admin.group.suffixSuffix for auto-created portfolio admin groups (default Administrators).
sdk.feature.propertiesExtra templated feature properties sent to SDKs. See SDK Feature Extension Properties⁠.
web.asset.location, cache-control.web.index, cache-control.web.otherAdmin web app asset serving and caching.
featurehub.url-pathServe FeatureHub under a context path other than /. See Common to all servers⁠.

The full MR property list is in Management Repository configuration⁠. For OAuth2 and SAML setup, see Identity⁠.

⁠Health and metrics

⁠More information

License: Apache 2 with Commons Clause.

Tag summary

Content type

Image

Digest

sha256:fc232f25e…

Size

209.6 MB

Last updated

4 months ago

docker pull featurehub/mr