Spaces:
Sleeping
Sleeping
| # Lexsi agent-deployment config (this is the `config.yaml` you paste into the | |
| # platform's deployment step). Single Gradio container, exposed on the public | |
| # *.lexsi.ai URL via port 7850 (host AND container) — the platform's rule for | |
| # the one publicly-exposed service. | |
| # | |
| # Workflow: | |
| # 1. docker buildx build --platform linux/amd64 -t bplexsi/lexsi-ds-agent:prod_v1 --push . | |
| # 2. Paste this file into the platform's config.yaml. | |
| # 3. Fill the real secret values in `environment:` on the platform (do NOT | |
| # commit real tokens to git). | |
| services: | |
| ds-agent: | |
| image: bplexsi/lexsi-ds-agent:prod_v3 | |
| restart: unless-stopped | |
| ports: | |
| - "7850:7850" # REQUIRED: the single public-URL container | |
| environment: | |
| # --- Lexsi backend credentials (set these on the platform) --- | |
| SDK_ACCESS_TOKEN: "REPLACE_WITH_YOUR_SDK_ACCESS_TOKEN" | |
| LEXSI_ORG_NAME: "personal" | |
| LEXSI_WORKSPACE_NAME: "REPLACE_WITH_YOUR_WORKSPACE" | |
| # Text LLM project (the planner/summariser). Omit to fall back to stub. | |
| LEXSI_TEXT_PROJECT_NAME: "REPLACE_WITH_YOUR_TEXT_PROJECT" | |
| LEXSI_TEXT_MODEL: "gpt-5.2_v1" | |
| LEXSI_TEXT_PROVIDER: "OpenAI" | |
| # Tabular projects are created PER RUN (and auto-deleted unless persisted), | |
| # so no LEXSI_TABULAR_* project names are needed. | |
| # --- Optional UI tuning --- | |
| LEXSI_UI_RUN_TIMEOUT_S: "1800" # max run time = 30 min (1800s) | |
| healthcheck: | |
| test: ["CMD-SHELL", "curl -sf http://localhost:7850/ || exit 1"] | |
| interval: 30s | |
| timeout: 5s | |
| retries: 5 | |
| start_period: 60s | |