HUB
Sign inSign up

featurehub/party-server

By featurehub

•Updated 2 days ago

FeatureHub all-in-one: Admin app, MR, Dacha2 cache and streaming + REST Edge

Image
0

1M+

featurehub/party-server repository overview

⁠FeatureHub Party Server

The Party Server is the all-in-one FeatureHub deployment. A single container runs:

  • the Admin web app (the Flutter admin console)
  • the Management Repository (MR): the admin API and source of truth
  • Dacha2: the feature cache
  • Edge: the SDK-facing API, supporting both streaming (SSE) and REST (GET/PUT) feature updates
  • an embedded NATS server that connects them

It is the image to use for evaluation⁠ and for low-volume production deployments with streaming⁠ (Option 1a). If you expect higher traffic, look at the separate mr⁠, dacha2⁠ and edge⁠ images (Option 2a⁠). If you only need REST, use party-server-ish⁠.

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

⁠Quick start (evaluation)

docker run -p 8085:8085 --user 999:999 -v $HOME/party:/db featurehub/party-server:latest

Open http://localhost:8085⁠ and create the first (superuser) account. This setup uses an embedded H2 database written to /db. Use it for evaluation only, not production.

For Docker Compose examples (Postgres, MySQL, and others), see the featurehub-install⁠ repository and the Installation guide⁠.

⁠Ports

PortPurpose
8085Admin web app, MR API and Edge 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 (for example -e db.url=...). You can also mount properties files at:

  • /etc/app-config/application.properties
  • /etc/app-config/secrets.properties

See Run configuration⁠.

The Party Server accepts every property supported by the Management Repository⁠, Dacha2⁠ and Edge (Streaming)⁠ (Party Server config⁠).

Commonly used properties:

PropertyDescription
db.url, db.username, db.passwordJDBC connection to your database. Postgres, MySQL, MariaDB, Oracle and SQL Server are supported. Defaults to H2 at /db. See Database configuration⁠.
db.minConnections, db.maxConnectionsDatabase connection pool sizing.
nats.urlsComma-separated NATS servers. Only needed when you run several Party Servers or an external NATS. See NATS⁠.
webhooks.encryption.passwordKey used to encrypt Slack tokens and webhook secrets at rest. Required for Slack integration⁠. See Encryption⁠.
featurehub.url-pathServe FeatureHub under a context path other than /. See Common to all servers⁠.
portfolio.admin.group.suffixSuffix for the auto-created portfolio admin group (default Administrators).
edge.sse.drop-after-seconds, edge.sse.heartbeat-periodLifetime and heartbeat behaviour of SSE connections.
monitor.portPort for metrics and health checks. Set to 0 to serve them on the main port.

You can configure authentication through OAuth2 (Google, GitHub, Azure, Keycloak, generic) or SAML. See Identity⁠.

To use Kafka or Google Pub/Sub instead of the embedded NATS, see Async options⁠.

⁠Health and metrics

⁠More information

License: Apache 2 with Commons Clause.

Tag summary
Recent tags
Content type
Image
Digest
sha256:d6f62907e…
Size
223.5 MB
Last updated
5 months ago
docker pull featurehub/party-server:latest