Skip to content

docs(readme): lead the quickstart with the single-container declarative run - #821

Open
moonming wants to merge 1 commit into
mainfrom
docs/readme-single-container
Open

docs(readme): lead the quickstart with the single-container declarative run#821
moonming wants to merge 1 commit into
mainfrom
docs/readme-single-container

Conversation

@moonming

Copy link
Copy Markdown
Collaborator

Why

The README quickstart still says "AISIX is etcd-backed, so the fastest local run is Docker Compose (gateway + etcd)", then sends the reader off-site to fetch a compose file and configure a model and caller key through the admin API. That has been the slower path since v0.4.0 shipped declarative standalone config — a gateway now loads every resource from one resources.yaml with no configuration store at all.

Since the README is the first landing spot for anyone arriving from a link, it should show the fastest path and be runnable without leaving the page.

What

Quickstart now shows, inline: resources.yaml (provider key + model + caller key), a minimal config.yaml pointing at it, one docker run, and the first OpenAI-shaped request. Adds a pointer to the etcd / control-plane path for multi-gateway setups.

Verified

Every command and claim was executed verbatim against ghcr.io/api7/aisix:latest (v0.5.0) before writing:

  • docker run with those two exact files → container up, GET /livezok
  • GET /v1/models with the caller key → ["gpt-4o-mini"]
  • POST /v1/chat/completions → request proxied to the upstream with the stored provider key (401 only because the test used a deliberately fake OpenAI key)
  • Invalid file → boots nothing, exits 1, lists the offending entries and fields together
  • aisix validate --resourcesOK: loaded 3 resource(s); on a dangling provider_key reference it reports the entry, the field, and the set of defined names
  • admin.admin_keys is confirmed required even though the standalone admin surface is read-only, so the example includes it rather than omitting it

Docs-only change.

…ve run

The quickstart still claimed "AISIX is etcd-backed, so the fastest local run
is Docker Compose (gateway + etcd)" and sent readers to the docs to fetch a
compose file and then configure a model and key through the admin API. Since
v0.4.0 a standalone gateway loads every resource from one resources.yaml, so
the fastest path is one docker run with no configuration store and no admin
API choreography.

Make the README self-contained: show the resources.yaml and config.yaml
inline, then the docker run and the first proxied request. Point at the
deployment docs for the etcd / control-plane path instead.
@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@moonming, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 57 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 889b6a74-e3e8-4c84-b10a-56bffdf46ded

📥 Commits

Reviewing files that changed from the base of the PR and between 3295d56 and 3b1d675.

📒 Files selected for processing (1)
  • README.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/readme-single-container

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant