Deploys Honcho (plastic-labs/honcho) as a rootful Podman + Quadlet service on the lincoln VM (10.1.71.132). Three containers on a user-defined network: - honcho-postgres pgvector/pgvector:pg16 - honcho-api FastAPI on :8000 - honcho-deriver background worker for theory-of-mind derivations LLM provider: Anthropic Claude (claude-sonnet-4-5). Switching providers is two env-var changes — see README. Traefik route hall-of-presidents.local.mk-labs.cloud -> lincoln:8000 added under boilerplates/traefik/dynamic/. JARVIS itself talks to Honcho directly at lincoln:8000 (east-west); the Traefik alias exists only for browser access to the Swagger /docs UI. Requires three new vault entries before first run: - vault_honcho_database_password - vault_honcho_jwt_secret - vault_honcho_anthropic_api_key
28 lines
1.2 KiB
YAML
28 lines
1.2 KiB
YAML
---
|
|
# ============================================================================
|
|
# Post-deploy verification
|
|
# ----------------------------------------------------------------------------
|
|
# Polls the local Honcho API port until it responds. Fails loudly if the
|
|
# service doesn't come up — the operator should not get an "all green"
|
|
# playbook result while Honcho is silently broken.
|
|
# ============================================================================
|
|
|
|
- name: Wait for Honcho HTTP endpoint
|
|
ansible.builtin.uri:
|
|
url: "http://127.0.0.1:{{ honcho_listen_port }}/docs"
|
|
status_code: [200, 307]
|
|
return_content: false
|
|
register: honcho_ping
|
|
until: honcho_ping.status in [200, 307]
|
|
retries: "{{ honcho_health_check_retries }}"
|
|
delay: "{{ honcho_health_check_delay }}"
|
|
|
|
- name: Report Honcho status
|
|
ansible.builtin.debug:
|
|
msg: >-
|
|
Honcho API reachable on http://127.0.0.1:{{ honcho_listen_port }}/docs.
|
|
Traefik should now route hall-of-presidents.local.mk-labs.cloud to
|
|
this backend. Deriver enabled: {{ honcho_deriver_enabled }};
|
|
LLM transport: {{ honcho_llm_transport }};
|
|
deriver model: {{ honcho_deriver_model }}.
|