Skip to content

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.

  • 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
  • Docker Engine and Docker Compose (docker compose)
  • An OpenAI-compatible or Anthropic-compatible LLM API key (or a local LiteLLM or Ollama endpoint)

Start from the ready-to-run bundle in deploy/docker/:

Terminal window
cd deploy/docker
cp faber.yaml.example faber.yaml
cp .env.example .env
mkdir -p faber.d

Set OPENAI_API_KEY inside .env (never commit plaintext keys into faber.yaml). Validate your configuration before starting:

Terminal window
docker compose run --rm faber --validate --config /etc/faber/faber.yaml

Start both faber and the Proba web console (proba):

Terminal window
docker compose up -d

Open Proba in your browser at http://127.0.0.1:8080, or query the API directly:

Terminal window
curl -s http://127.0.0.1:8080/api/v1/health
curl -s http://127.0.0.1:8080/api/v1/automations

You can also point faberctl at the standalone instance:

Terminal window
export FABER_SERVER=http://127.0.0.1:8080
faberctl doctor --namespace faber
faberctl runs trigger service-health-triage

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: secret

apiKeyEnv, 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.

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:

Terminal window
docker compose kill -s HUP faber

If the updated YAML fails validation, faber-standalone logs the exact error and keeps the previous valid configuration active.

Build the minimal distroless/static non-root image (65532:65532) directly from the repository root:

Terminal window
docker build -f Dockerfile.standalone -t ghcr.io/faberops/faber-standalone:v2.4.9 .

The binary supports four operational flags:

  • --config <path>: Path to faber.yaml (defaults to FABER_CONFIG or /etc/faber/faber.yaml)
  • --validate: Load and validate faber.yaml, faber.d/*.yaml, and secrets, print a resource summary, and exit
  • --healthcheck: Probe http://127.0.0.1:8080/api/v1/health (override with --healthcheck-url) for container healthchecks without needing curl or wget
  • --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/kubeconfig