# ───────────────────────────────────────────────────────────────────────────── # AIDO SMB → Onyx sync connector (Phase 1) # Copy to .env and adjust. The connector runs as a sidecar next to Onyx. # ───────────────────────────────────────────────────────────────────────────── # Onyx API base (in-compose service name; no trailing /api needed). ONYX_API_URL=http://api_server:8080 # Auth — provide ONE of: # (a) a pre-created API key (simplest), or # (b) admin credentials so the connector creates + caches its own key on first boot. ONYX_API_KEY= # ONYX_ADMIN_EMAIL=admin@example.com # ONYX_ADMIN_PASSWORD=change-me # How often to reconcile each share (seconds). INGESTION_INTERVAL_SECONDS=300 # File selection. INCLUDE_EXTENSIONS=pdf,docx,txt,md,csv,xlsx,html,htm MAX_FILE_MB=50 LOG_LEVEL=INFO # ── Sources ────────────────────────────────────────────────────────────────── # Preferred: one JSON list (scales to any number of shares, no code changes). # 'mount' = local path where the SMB share is mounted (read-only) in this container # 'logical' = the path users recognise; shown in Onyx's citation view # 'cc_pair_id' (optional) = use a specific connector; auto-provisioned if omitted. SMB_SOURCES=[{"name":"Finance","mount":"/shares/finance","logical":"\\\\company\\finance"},{"name":"Legal","mount":"/shares/legal","logical":"\\\\company\\legal"}] # …or the indexed style instead of SMB_SOURCES: # SMB_SOURCE_1_NAME=Finance # SMB_SOURCE_1_MOUNT=/shares/finance # SMB_SOURCE_1_LOGICAL=\\company\finance # SMB_SOURCE_1_CC_PAIR_ID= # SMB_SOURCE_2_NAME=Legal # SMB_SOURCE_2_MOUNT=/shares/legal # SMB_SOURCE_2_LOGICAL=\\company\legal