Standalone Docker Deployment
Run Faber from YAML settings files (faber.yaml and optional faber.d/*.yaml drop-ins) with zero Kubernetes cluster required. Standalone mode runs the same Faber reconciliation engine, trust formula, checkpointed HITL approvals, cron scheduler, webhook ingest, Operational Memory FTS5, and /api/v1/* REST and SSE API used by faberctl and the Proba web console.
When to Use Standalone Docker
Section titled “When to Use Standalone Docker”- Evaluating Faber locally or on a single Linux host without installing a Kubernetes cluster
- Automating Git forge pull requests, webhook alert triage, scheduled digests, or HTTP monitoring outside Kubernetes
- Inspecting an external Kubernetes cluster read-only from a Docker host via an optional kubeconfig file
Prerequisites
Section titled “Prerequisites”- Docker Engine and Docker Compose (
docker compose) - An OpenAI-compatible or Anthropic-compatible LLM API key (or a local LiteLLM or Ollama endpoint)
1. Quickstart with Docker Compose
Section titled “1. Quickstart with Docker Compose”Start from the ready-to-run bundle in deploy/docker/:
cd deploy/dockercp faber.yaml.example faber.yamlcp .env.example .envmkdir -p faber.dSet OPENAI_API_KEY inside .env (never commit plaintext keys into faber.yaml). Validate your configuration before starting:
docker compose run --rm faber --validate --config /etc/faber/faber.yamlStart both faber and the Proba web console (proba):
docker compose up -dOpen Proba in your browser at http://127.0.0.1:8080, or query the API directly:
curl -s http://127.0.0.1:8080/api/v1/healthcurl -s http://127.0.0.1:8080/api/v1/automationsYou can also point faberctl at the standalone instance:
export FABER_SERVER=http://127.0.0.1:8080faberctl doctor --namespace faberfaberctl runs trigger service-health-triage2. Settings File Reference (faber.yaml)
Section titled “2. Settings File Reference (faber.yaml)”faber.yaml declares runtime settings and Faber resources in one file:
| Section | Purpose | Default |
|---|---|---|
namespace |
Logical namespace assigned to standalone resources | faber |
server |
apiAddr, optional dedicated webhookAddr, publicUrl, logLevel, uiReadOnly, auth |
apiAddr: ":8080", logLevel: "info" |
store |
Persistent SQLite (sqlite) or PostgreSQL (postgres) backend |
driver: sqlite, sqlitePath: /data/faber.db |
memory |
Operational Memory FTS5 (enabled) and Active Learning (learningEnabled) |
Both true |
catalog |
Optional OCI catalog sources, refreshInterval, and tokenEnv |
refreshInterval: 15m |
kubernetes |
Optional external kubeconfig or kubeconfigEnv for read-only cluster inspection |
Omitted (zero cluster dependency) |
secrets |
Named secrets resolved from fromEnv, fromFile (such as /run/secrets/*), or data |
Empty |
connectors |
Typed endpoints (llm, webhook, prometheus, loki, slack, matrix, mcp, oci) |
Empty |
repositories |
Git forge repositories (github, gitlab, gitea, forgejo) with diff guardrails |
Empty |
trustPolicies |
Autonomy ceilings (Observe, HITL, AITL, Auto), budgets, change windows, approvers |
Empty (defaults to HITL) |
playbooks |
Inline Playbook definitions using the standard faberops.dev/v1beta1 spec |
Empty |
automations |
Bindings from a Playbook to connectors, repositories, trust level, triggers, and overrides |
Empty |
include |
Glob patterns or directories of drop-in YAML files | faber.d/*.yaml and faber.d/*.yml when faber.d/ exists |
Secret Handling Without Plaintext in faber.yaml
Section titled “Secret Handling Without Plaintext in faber.yaml”Reference credentials from environment variables or mounted Docker secret files instead of writing secrets into faber.yaml:
secrets: pager-signing: fromFile: secret: /run/secrets/pager_signing_key
connectors: - name: default-llm type: llm default: true url: https://api.openai.com/v1 apiKeyEnv: OPENAI_API_KEY config: protocol: openai defaultModel: gpt-5-mini - name: pager-webhook type: webhook url: https://hooks.example.com/faber secretRef: name: pager-signing key: secretapiKeyEnv, apiKeyFile, tokenEnv, and tokenFile shorthands on connectors and repositories automatically synthesize internal secret references and fail fast at startup or --validate if the variable or file is missing.
For native Amazon Bedrock (Converse API), set config.protocol: bedrock, config.region: eu-central-1 (or your target AWS region), and url: https://bedrock-runtime.eu-central-1.amazonaws.com. Omit apiKeyEnv to sign requests automatically via IAM environment credentials (AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY) or container/EKS Pod Identity credentials, or pass a Bedrock API key via apiKeyEnv.
3. Dropping In Catalog Packs via faber.d/
Section titled “3. Dropping In Catalog Packs via faber.d/”Standalone mode natively reads standard Kubernetes CRD YAML manifests (kind: Playbook, kind: Automation, kind: Connector, kind: Repository, kind: TrustPolicy) straight from faber.d/*.yaml, including multi-document --- files from faberops/catalog.
If a manifest omits metadata.namespace, standalone mode automatically assigns the configured top-level namespace.
Reload configuration live without restarting the container or dropping in-flight runs:
docker compose kill -s HUP faberIf the updated YAML fails validation, faber-standalone logs the exact error and keeps the previous valid configuration active.
4. Building the Standalone Image Locally
Section titled “4. Building the Standalone Image Locally”Build the minimal distroless/static non-root image (65532:65532) directly from the repository root:
docker build -f Dockerfile.standalone -t ghcr.io/faberops/faber-standalone:v2.4.9 .The binary supports four operational flags:
--config <path>: Path tofaber.yaml(defaults toFABER_CONFIGor/etc/faber/faber.yaml)--validate: Load and validatefaber.yaml,faber.d/*.yaml, and secrets, print a resource summary, and exit--healthcheck: Probehttp://127.0.0.1:8080/api/v1/health(override with--healthcheck-url) for container healthchecks without needingcurlorwget--version: Print the binary version and exit
5. Optional External Kubernetes Cluster Mode
Section titled “5. Optional External Kubernetes Cluster Mode”When kubernetes is omitted, Faber runs in pure Git, Forge, Webhook, Cron, and HTTP mode with no cluster dependency. To inspect an external Kubernetes cluster read-only from Docker, mount a read-only kubeconfig file and configure:
kubernetes: kubeconfig: /etc/faber/kubeconfigNext Steps
Section titled “Next Steps”- Review progressive autonomy rules and
TrustPolicyceilings in Actions, Trust Gradient, and Safety Controls. - Explore HITL approval checkpoints and quorum rules in HITL Approvals.
- Use the browser console in Proba Web Console.
- Move to in-cluster Kubernetes GitOps automation with Tier 0 Quickstart or Tier 1 Quickstart.