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
18 lines
626 B
YAML
18 lines
626 B
YAML
---
|
|
# ============================================================================
|
|
# Podman network — single user-defined network shared by api/deriver/postgres
|
|
# ============================================================================
|
|
|
|
- name: Check if honcho network exists
|
|
ansible.builtin.command:
|
|
cmd: "podman network exists {{ honcho_network_name }}"
|
|
register: honcho_network_check
|
|
failed_when: false
|
|
changed_when: false
|
|
|
|
- name: Create honcho podman network
|
|
ansible.builtin.command:
|
|
cmd: "podman network create {{ honcho_network_name }}"
|
|
when: honcho_network_check.rc != 0
|
|
changed_when: true
|