FeatureHub all-in-one, REST only: Admin app, MR and Edge-REST (no NATS/Dacha)
10K+
Party Server-ish is the all-in-one, REST-only FeatureHub deployment. A single container runs:
It includes no NATS, no Dacha cache and no streaming (SSE). Because of this it is simple and cheap to run on platforms such as Google Cloud Run, Azure Container Instances or ECS. It suits mobile and web clients that poll for features. See Option 1b – Low Volume Deployment (REST only).
If you need streaming updates, use party-server. To scale REST
traffic across read replicas, split into mr +
edge-rest
(Option 2b).
Full documentation: https://docs.featurehub.io
docker run -p 8085:8085 --user 999:999 -v $HOME/party:/db featurehub/party-server-ish:latest
Open http://localhost:8085. This uses an embedded H2 database written to /db, which is for evaluation only.
For a Postgres example, see docker-compose-options/party-server-ish-postgres in
featurehub-install. For a worked example, see
Deploying on Google Cloud Run.
| Port | Purpose |
|---|---|
8085 | Admin web app, MR API and Edge REST API (server.port) |
8701 | Prometheus metrics and health checks (monitor.port) |
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.
Party Server-ish accepts every property supported by the Management Repository and Edge (REST only) (Party-Server-ish config).
Commonly used properties:
| Property | Description |
|---|---|
db.url, db.username, db.password | JDBC connection to your database (defaults to H2 at /db). See Database configuration. |
db-replica.* | Optional read replica. Edge requests go to it by default. See Database Read Replicas. |
webhooks.encryption.password | Key for encrypting Slack tokens and webhook secrets. See Encryption. |
edge.cache-control.header | Override the Cache-Control header on Edge GET responses. See Edge (all) Config. |
featurehub.url-path | Serve FeatureHub under a context path other than /. |
monitor.port | Port for metrics and health checks. Set to 0 to serve them on the main port (useful on Cloud Run or ECS). |
You can configure authentication through OAuth2 or SAML. See Identity.
/health/liveness and /health/readiness: see Health and Liveness checks/metrics: Prometheus metrics, described in MonitoringLicense: Apache 2 with Commons Clause.
Content type
Image
Digest
sha256:db1c59f93…
Size
209.9 MB
Last updated
4 months ago
docker pull featurehub/party-server-ish