Skip to content
Historical revision — this record as it stood on 1 July 2026, not the current version. View the current record →

How to configure the Doorman gateway

The Doorman gateway routes all inference and entity-lookup requests to the appropriate tier: Tier A (DataGraph), Tier B (local SLM), or Tier C (local fallback). Configuring Doorman means setting the upstream addresses for each tier, defining circuit-breaker thresholds, and verifying the health endpoint after startup. This guide covers a single-instance Doorman deployment.

For the Doorman protocol and circuit-breaker model, see doorman-protocol. For starting the SLM model that Tier B depends on, see run-local-slm-inference.

Prerequisites

  • The slm-doorman-server binary available on the deployment host
  • Network access to the DataGraph endpoint (service-content) if Tier A is intended
  • The OLMo model binary present at the configured path for Tier B
  • A terminal session on the host where Doorman will run

Step 1: Create the Doorman configuration file

Doorman reads its configuration from a TOML file. Create doorman.toml:

[server]
port = 9080
bind = "127.0.0.1"

[tier_a]
enabled = true
service_content_url = "http://127.0.0.1:9090"
circuit_breaker_threshold = 5
circuit_breaker_timeout_secs = 30

[tier_b]
enabled = true
model_path = "/opt/pointsav/models/olmoe-1b-7b-instruct.gguf"
context_window = 4096
max_tokens = 512

[tier_c]
enabled = true
fallback_message = "Inference unavailable — local fallback only"

Adjust service_content_url to match the DataGraph service address in your deployment. If the DataGraph is on the same host, 127.0.0.1:9090 is typical. If it is on a separate node, use its network address.

Step 2: Start the Doorman service

Start the service with the configuration file:

slm-doorman-server --config doorman.toml

Or as a systemd service:

sudo systemctl start slm-doorman-server

Doorman logs its startup sequence: it attempts to contact the DataGraph (Tier A), loads the SLM model (Tier B), and confirms Tier C is always available. Any failure to contact Tier A at startup does not prevent Doorman from starting — it marks Tier A's circuit as OPEN and routes to Tier B instead.

Step 3: Verify the health endpoint

Doorman exposes a health endpoint at /health:

curl http://127.0.0.1:9080/health

A healthy response:

{
  "tier_a_state": "CLOSED",
  "tier_b_state": "CLOSED",
  "tier_c_state": "AVAILABLE",
  "active_tier": "A"
}

CLOSED means the circuit is healthy and routing requests. OPEN means the circuit has tripped and Doorman is not routing to that tier. active_tier shows which tier is currently receiving requests.

Step 4: Verify from the console

Open the console and press F9 to view the Doorman health dashboard. The dashboard reads from the same /health endpoint. Tier A, B, and C should show green under normal operation.

If Tier A shows OPEN but the DataGraph service is running, check the service_content_url in the configuration. A DNS resolution failure or wrong port is the most common cause.

Step 5: Adjust circuit-breaker thresholds (optional)

The circuit_breaker_threshold in [tier_a] sets how many consecutive failures trigger the circuit. A lower threshold (e.g., 3) makes the circuit trip faster under transient failures; a higher threshold (e.g., 10) tolerates more errors before falling back. The default of 5 is appropriate for most deployments.

After changing the threshold, restart Doorman for the change to take effect:

sudo systemctl restart slm-doorman-server

Key takeaways

  • Doorman starts regardless of whether Tier A (DataGraph) is reachable — it marks unavailable tiers as OPEN and routes to the next
  • The /health endpoint is the authoritative source of circuit state — read it directly or via F9 in the console
  • Circuit-breaker settings are in doorman.toml under [tier_a]; changes require a service restart
  • Tier C is always available; it never trips

See also

Important Information

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is a trade name of Woodfine Capital Projects Inc. ("Woodfine"). PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. See TRADEMARK.md in this repository for the full trademark notice.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →