Weibo Docs
Reference

Configuration

Every environment variable Weibo reads, grouped by component.

CLI (client)

VariablePurpose
WEIBO_CONTROLLERController base URL, e.g. http://localhost:9000
WEIBO_TOKENBearer token sent with every request
WEIBO_REGISTRYRegistry prefix for weibo deploy

Controller (weibo dashboard)

VariablePurpose
WEIBO_AUTH_TOKENShared bearer token
WEIBO_AUTH_TOKEN_SHA256Comma-separated token hashes, optional readonly: / readwrite:
WEIBO_ALLOW_OPEN_PUBLICAllow a public bind with no auth
WEIBO_GRAFANA_URLGrafana base URL for deep links
WEIBO_LOG_LEVELdebug, info, warn, error
WEIBO_LOG_FORMATtext or json
OTEL_EXPORTER_OTLP_ENDPOINTOTLP/HTTP traces endpoint
OTEL_SERVICE_NAMETrace service name (default weibo-controller)

Runner (weibo-runner image)

VariableDefaultPurpose
WORKFLOWrequiredPath to the mounted workflow
DATA_DIR/dataState and checkpoint base dir
SAVEPOINT_DIR/savepointsLocal savepoint dir
SAVEPOINT_S3_BUCKETunsetStore savepoints in S3-compatible storage
RESTORE_SAVEPOINTunsetSavepoint label to restore on start
PORT8080Agent control port (/state, /metrics, ...)
LOG_LEVEL / LOG_FORMATinfo / jsonLogging

The controller sets WEIBO_JOB_ID and WEIBO_RUN_KIND on every job.

Secrets in workflows

${VAR} placeholders resolve from the process environment at compile time and never appear in descriptions, metadata, or the dashboard. See Secrets.

SDK job manifest

kind: sdk
name: orders
image: orders-sdk:1.0
env:
  LOG_LEVEL: info
resources:
  cpu: "500m"
  memory: "512Mi"

On this page