featbit-deployment-docker
Expert guidance for deploying FeatBit with Docker Compose across three tiers - Standalone (PostgreSQL only), Standard (PostgreSQL/MongoDB + Redis), and Professional (+ ClickHouse + Kafka). Use when user mentions "docker-compose", "deploy with Docker", "standalone vs standard vs pro", works with docker-compose.yml files, or asks about container configuration, environment variables, or production Docker setup. Do not use for Kubernetes, Helm, AWS ECS/EKS, or cloud-provider-specific deployments.
What this skill does
# FeatBit Docker Compose Deployment Expert guidance for deploying FeatBit with Docker Compose. This skill provides deployment instructions for all three tiers with links to detailed configuration files. ## Core Concepts FeatBit offers three deployment architectures optimized for different scales: | Tier | Database | Cache | Message Queue | Analytics | Best For | |------|----------|-------|---------------|-----------|----------| | **Standalone** | PostgreSQL | None | PostgreSQL | PostgreSQL | Low to moderate concurrent connections, moderate API calls, limited event volume | | **Standard** | PostgreSQL/MongoDB | Redis | Redis | MongoDB | Moderate to high concurrent connections & API calls, moderate event volume | | **Professional** | PostgreSQL/MongoDB | Redis | Kafka | ClickHouse | Moderate to high concurrent connections & API calls, high event volume | **Quick Selection Guide**: - **Standalone**: Minimal setup, single server, handles low to moderate concurrent WebSocket connections - **Standard**: Production-ready with caching, handles high concurrent connections with moderate event volume - **Professional**: Maximum scale for high connections AND high event volume, requires DevOps expertise **Note**: Traffic includes both concurrent WebSocket connections from frontend clients and API calls to clients - these have different scales. **Architecture Details**: https://docs.featbit.co/installation/deployment-options ## Deployment Guides **Important**: Before starting any deployment, clone the FeatBit repository as it contains required scripts: ```bash git clone https://github.com/featbit/featbit.git cd featbit ``` These scripts are accessed during Docker execution. **Access Information** (applies to all deployment tiers): - **URL**: http://localhost:8081 - **Default Login**: [email protected] / 123456 ### Standalone Deployment **Quick Start**: ```bash # Clone repository (if not already done) git clone https://github.com/featbit/featbit.git cd featbit # Start services using the included docker-compose.yml docker compose up -d ``` **Prerequisites**: Docker 20.10+, Docker Compose 2.0+, 2GB RAM **Complete Guide**: [references/standalone-configuration.md](references/standalone-configuration.md) - Full docker-compose.yml with health checks - Step-by-step setup instructions - Using managed PostgreSQL - Resource requirements - Limitations and when to upgrade ### Standard Deployment **Two Options Available**: **Option A: PostgreSQL + Redis** - Best for teams familiar with PostgreSQL - Simpler than MongoDB option ```bash # Clone repository (if not already done) git clone https://github.com/featbit/featbit.git cd featbit # Start services with PostgreSQL Standard configuration docker compose -f docker-compose-standard.yml up -d ``` **Option B: MongoDB + Redis** - Better for document-oriented workloads - Includes initialization script ```bash # Clone repository (if not already done) git clone https://github.com/featbit/featbit.git cd featbit # Start services with MongoDB configuration docker compose -f docker-compose-mongodb.yml up -d ``` **Prerequisites**: Docker 20.10+, Docker Compose 2.0+, 4GB RAM (8GB recommended) **Complete Guide**: [references/standard-configuration.md](references/standard-configuration.md) - Full configurations for both PostgreSQL and MongoDB options - Production setup with managed services - Resource requirements - When to choose Standard vs Professional ### Professional Deployment **Enterprise-Scale Architecture**: - Kafka for high-throughput messaging - ClickHouse for advanced analytics - Horizontal scalability - Handles millions of events per day ```bash # Clone repository (if not already done) git clone https://github.com/featbit/featbit.git cd featbit # Start all services (Docker Compose handles startup order via depends_on) docker compose -f docker-compose-pro.yml up -d ``` **Prerequisites**: Docker 20.10+, Docker Compose 2.0+, 8GB+ RAM, 4+ CPU cores **Complexity Warning**: Requires significant DevOps expertise **Complete Guide**: [references/professional-configuration.md](references/professional-configuration.md) - Full docker-compose.yml with all services - Infrastructure startup sequence - Horizontal scaling configuration - Using managed services (AWS MSK, ClickHouse Cloud) - Performance tuning - Monitoring setup ## Reference Guides ### Environment Variables Complete reference for all configuration options: **[references/environment-variables.md](references/environment-variables.md)** - Provider configuration (DbProvider, MqProvider, CacheProvider) - Database connection strings (PostgreSQL, MongoDB, Redis, Kafka, ClickHouse) - UI configuration (API_URL, EVALUATION_URL) - Service-specific variables - Using .env files for secrets - Environment-specific configurations - OpenTelemetry configuration ### Troubleshooting Common issues and solutions: **[references/troubleshooting.md](references/troubleshooting.md)** - Port conflicts - UI connection issues - Database connection failures - Service startup problems - WebSocket connection failures - Redis and MongoDB issues - Kafka and ClickHouse troubleshooting - Performance problems - Emergency recovery procedures - Debugging tips ## Quick Commands ### Service Management ```bash # Start all services (Standalone) docker compose up -d # Start all services (Standard PostgreSQL) docker compose -f docker-compose-standard.yml up -d # Start all services (Standard MongoDB) docker compose -f docker-compose-mongodb.yml up -d # Start all services (Professional) docker compose -f docker-compose-pro.yml up -d # Stop all services (use same -f flag as used for starting) docker compose down # or for non-default configs: docker compose -f docker-compose-standard.yml down # View status docker compose ps # View logs docker compose logs -f # View specific service logs docker compose logs -f api-server # Restart service docker compose restart api-server # Scale service (Professional tier) docker compose up -d --scale evaluation-server=3 ``` ### Maintenance ```bash # Update to latest images docker compose pull docker compose up -d # Clean up docker system prune -a --volumes # Backup PostgreSQL docker compose exec postgresql pg_dump -U postgres featbit > backup.sql # Backup MongoDB docker compose exec mongodb mongodump --out /backup --db featbit ``` ## When to Choose Each Tier ### Choose Standalone If: - **Production or non-production** with low to moderate traffic: - Low to moderate concurrent WebSocket connections from frontend clients - Moderate API call volume to clients - Low event volume (feature flag usage events & custom events) - Simple single-server deployment preferred - Cost-effective solution for small-scale production use - Quick evaluation of FeatBit **Not Recommended For:** - Very high concurrent WebSocket connections - High event volume requiring event streaming - Need for caching layer to improve performance ### Choose Standard If: - **Very high concurrent WebSocket connections & API calls** - Need caching layer (Redis) for improved performance - Moderate event volume (feature flag usage events & custom events) - Production environment requiring reliability - Good balance of complexity vs features **Consider Professional If:** - Very high event volume requiring Kafka event streaming - Require real-time analytics at scale with ClickHouse - Need horizontal scalability for data analytics ### Choose Professional If: - **Very high concurrent WebSocket connections & API calls** - **Very high event volume** (feature flag usage events & custom events) - Need Kafka for high-throughput event streaming - Need ClickHouse for real-time analytics at scale - Have dedicated DevOps resources - Budget for infrastructure **Consider Standard If:** - Limited DevOps expertise - Moderate event volume (Redis sufficient for message queue) - Cost-sensitive ## Official Resources ### Documentation - **Installation Guide**: https://docs.featbit
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.