Skip to content
Back to skills

Deployment And Configuration

ASecurity

"Boot, configure, and operate Yuxi Docker, Lite, production, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
devopsbashdockerapidatabasefrontend

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deployment-and-configuration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment And Configuration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment And Configuration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deployment-and-configuration/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deployment-and-configuration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deployment-and-configuration
description: "Boot, configure, and operate Yuxi Docker, Lite, production, and
  service-topology workflows safely."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# Deployment and Configuration

Load this sub-skill when the task is about starting, diagnosing, or safely
operating a Yuxi deployment rather than changing agent, knowledge-base, CLI, or
frontend code.

## Owns

- Docker Compose development, Lite, production, and optional OCR profile
  topology.
- `.env` / `.env.prod`, startup environment variables, administrator system
  options, model-provider credentials, CORS, reverse proxy, MinIO public assets,
  sandbox-provisioner, and OCR service configuration.
- Read-only runtime checks for an already started stack.
- Deployment troubleshooting, including logs, health endpoints, image pulls,
  service dependencies, and service-required verification candidates.

## Route elsewhere

- Agent run lifecycle, Skills/MCP/SubAgent behavior, streaming internals, and
  sandbox tool semantics: use the `agent-runtime` sub-skill after confirming the
  stack is healthy.
- Knowledge-base ingestion, parser behavior, OCR engine output, graph retrieval,
  or chunking details: use `knowledge-and-ocr` after confirming required
  services and credentials.
- `yuxi` CLI usage, external API/SSE client examples, and Langfuse evaluation
  commands: use `cli-and-external-integration` after confirming base URL and
  authentication assumptions.
- Repository editing, tests, lint, release, or changelog workflow: use
  `repo-development`.

## Safety gates

- Do not print, paste, commit, or summarize real `.env`, `.env.prod`, JWT,
  sandbox, database, MinIO, model-provider, API-key, OCR, or Langfuse secrets.
  Report only variable names and whether values are missing when necessary.
- Treat initialization, image-pull, reset, seed, and service restart commands as
  side-effectful. Run them only after explicit user approval and only in the
  intended deployment directory.
- Use `scripts/check-runtime-health.sh` for read-only checks. It does not start,
  stop, rebuild, seed, or edit configuration.
- Production API-key traffic must use HTTPS at the external boundary. Do not
  recommend sending `yxkey_...` tokens over plain HTTP except for local-only
  development.
- External model-provider connectivity, Langfuse tracing/evaluation, cloud OCR,
  and web search checks require credentials, network access, and explicit opt-in.
- GPU-backed OCR services (`mineru-api`, `paddlex`) are optional service profiles;
  do not represent them as core verified CPU capabilities.

## Fast operating workflow

1. Identify the deployment flavor:
   - Development: `docker-compose.yml`, web on `http://localhost:5173`, API on
     `http://localhost:5050`.
   - Lite: `make up-lite`, intended to skip heavy knowledge/graph services.
   - Production: `docker-compose.prod.yml`, web and API behind Nginx on port 80.
   - Optional OCR profile: `--profile all` adds MinerU and PaddleX services.
2. Check configuration readiness without exposing values. Use
   `references/configuration-and-secrets.md` for required variables and where
   each layer is read.
3. If a stack is already running, run the bundled read-only probe from a Yuxi
   deployment directory:

   ```bash
   # development stack
   scripts/check-runtime-health.sh --project-dir . --dev

   # production stack
   scripts/check-runtime-health.sh --project-dir . --prod
   ```

   If the script is copied outside the skill tree, keep its relative path local
   to the copied location and pass `--project-dir` to the deployment directory.
4. For failures, gather only bounded diagnostics:
   - `docker compose ps`
   - `docker compose logs --tail=100 api worker web sandbox-provisioner`
   - API health endpoint response from `/api/system/health`
   - Browser-visible web entrypoint status
5. Escalate to the routed sub-skill only after the relevant service health and
   credential gate is understood.

## References

- `references/runtime-topology.md` — service maps, Compose flavors, ports,
  Makefile entries, optional profiles, and native service-required candidates.
- `references/configuration-and-secrets.md` — startup env, administrator system
  options, model providers, CORS/proxy, MinIO, sandbox, OCR, API key, and
  Langfuse safety rules.
- `references/troubleshooting.md` — symptom-driven diagnosis and safe next
  commands.
- `scripts/check-runtime-health.sh` — read-only health/log probe for a running
  deployment.

## Native verification candidates

Use these only as verification candidates in an active Yuxi checkout or
service environment; this sub-skill remains self-contained for operating
context.

| Candidate | Requirement | Proves |
| --- | --- | --- |
| `docker-dev-runtime` | Docker Compose development stack; service-required | Compose health and container logs support dev deployment guidance. |
| `docker-prod-runtime` | Production Compose plus `.env.prod` secrets; service-required/reference-checked | Production topology, Nginx proxy path, and secret gates are understood. |
| `model-provider-connectivity` | Network and explicit provider credentials; optional/external | Real provider calls are only tested when the user enables them. |
| `ocr-config-center-e2e` | Running API/Postgres and authenticated user; optional/service-required | OCR configuration endpoints reflect runtime env/admin settings. |

Files in this skill

  • SKILL.md5.3 KB
  • references/configuration-and-secrets.md8.9 KB
  • references/runtime-topology.md6.6 KB
  • references/troubleshooting.md6 KB
  • scripts/check-runtime-health.sh6.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.