Fix HTTP deployment flow and redesign bindings workspace
This commit is contained in:
18
README.md
18
README.md
@@ -69,6 +69,8 @@ npm run dev
|
||||
|
||||
The Vite config proxies `/admin/api/*` to `http://127.0.0.1:7000`.
|
||||
|
||||
If you prefer the repository root entrypoint, `uv run main.py` now starts the same FastAPI app on `APP_PORT` (default `7000`).
|
||||
|
||||
## Dependency Management
|
||||
|
||||
- Local Python development uses `uv` via [`pyproject.toml`](/d:/project/sentinel/pyproject.toml).
|
||||
@@ -94,12 +96,10 @@ cd ..
|
||||
|
||||
This produces `frontend/dist`, which Nginx serves at `/admin/ui/`.
|
||||
|
||||
### 3. Provide TLS assets
|
||||
### 3. Build prerequisites
|
||||
|
||||
Place certificate files at:
|
||||
|
||||
- `nginx/ssl/server.crt`
|
||||
- `nginx/ssl/server.key`
|
||||
- Build the frontend first. If `frontend/dist` is missing, `/admin/ui/` cannot be served by Nginx.
|
||||
- Ensure the external Docker network `llm-shared-net` already exists if `DOWNSTREAM_URL=http://new-api:3000` should resolve across stacks.
|
||||
|
||||
### 4. Start the stack
|
||||
|
||||
@@ -109,10 +109,10 @@ docker compose up --build -d
|
||||
|
||||
Services:
|
||||
|
||||
- `https://<host>/` forwards model API traffic through Sentinel.
|
||||
- `https://<host>/admin/ui/` serves the admin console.
|
||||
- `https://<host>/admin/api/*` serves the admin API.
|
||||
- `https://<host>/health` exposes the app health check.
|
||||
- `http://<host>/` forwards model API traffic through Sentinel.
|
||||
- `http://<host>/admin/ui/` serves the admin console.
|
||||
- `http://<host>/admin/api/*` serves the admin API.
|
||||
- `http://<host>/health` exposes the app health check.
|
||||
|
||||
## Admin API Summary
|
||||
|
||||
|
||||
Reference in New Issue
Block a user