Run the web control plane¶
Use the existing approved project and network boundary. The web reference owns routes, authentication, defaults, settings, and failure responses.
Start the local interface¶
- Install the existing Python
webextra and built frontend assets in the approved environment. - Select the intended project directory.
- Start the supported interface:
- Open the printed private login URL in the operator's browser.
- Keep that URL out of chat, logs, issues, and other users' browsers.
- Use the browser interface for normal lifecycle and terminal operations.
- Use
lilrae lab infofor observed scenario URLs.
Use --api-only only for an explicitly selected API-only delivery.
It does not give a browser interface.
Safe Exposure¶
Use this procedure only when the approved deployment requires access from another device.
- Keep the API bound to loopback.
- Place the approved same-host TLS proxy in front of it.
- Set the browser-facing origin through
--public-originorAPTL_WEB_PUBLIC_ORIGIN. - Set
APTL_ALLOWED_HOSTSto the forwarded hostnames, without ports. - Keep the browser-facing
Hostheader through the proxy. - Open the private login URL through that browser origin.
- Before you do a mutating-request test, examine authenticated access.
- Compare HTTP 403 responses with the proxy failure reference.
For an existing approved Tailscale deployment, the command shape is:
APTL_ALLOWED_HOSTS=<machine>.<tailnet>.ts.net lilrae web serve \
--public-origin https://<machine>.<tailnet>.ts.net
Keep certificate verification and authentication enabled. Do not place API bearer tokens in URLs.
Configure split delivery¶
- Examine the selected scenario's
webdelivery and same-origin proxy. - Determine the project owner's
uid:gidthrough the existing host account procedure. - Determine the selected Docker socket's group.
- Configure
APTL_WEB_API_USERandAPTL_DOCKER_SOCKET_GIDin the project's private.env. - Use the existing commands in
.env.examplefor these non-secret identity values. - Start the admitted delivery through the approved project lifecycle.
- Before you change permissions, diagnose unset-value startup failures.
Do not run the API container as root to bypass private-state permissions.