Deployed f10b8dcf with MkDocs version: 1.6.1

This commit is contained in:
2026-12-05 03:15:49 +00:00
parent 6ed040a6dd
commit dfd9978019
16 changed files with 97 additions and 498 deletions
+2 -67
View File
@@ -2220,73 +2220,8 @@ start. See <a href="authentication/">Authentication</a> for how to set <code>api
how the <code>X-Secret-Key</code> header works.</p>
</div>
<h3 id="common-options">Common options<a class="headerlink" href="#common-options" title="Permanent link">&para;</a></h3>
<p>The <code>serve</code> command accepts the following flags:</p>
<table>
<thead>
<tr>
<th>Option</th>
<th>Default</th>
<th>Effect</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>-h</code>, <code>--host</code></td>
<td><code>127.0.0.1</code></td>
<td>Address to bind to. Use <code>0.0.0.0</code> to accept connections from other machines.</td>
</tr>
<tr>
<td><code>-p</code>, <code>--port</code></td>
<td><code>8786</code></td>
<td>Port to bind to.</td>
</tr>
<tr>
<td><code>--api-only</code></td>
<td>off</td>
<td>Serve only the REST API, without the Widevine/PlayReady CDM HTTP endpoints.</td>
</tr>
<tr>
<td><code>--cdm-only</code></td>
<td>off</td>
<td>Serve only the Widevine/PlayReady CDM HTTP endpoints, plus <code>/api/health</code> and the dashboard. No REST API, no remote sessions, no Swagger UI. Cannot be combined with <code>--api-only</code> or <code>--remote-only</code>.</td>
</tr>
<tr>
<td><code>--no-widevine</code></td>
<td>off</td>
<td>Disable the Widevine CDM endpoints. Cannot be combined with <code>--api-only</code>.</td>
</tr>
<tr>
<td><code>--no-playready</code></td>
<td>off</td>
<td>Disable the PlayReady CDM endpoints. Cannot be combined with <code>--api-only</code>.</td>
</tr>
<tr>
<td><code>--no-key</code></td>
<td>off</td>
<td>Disable API-key authentication entirely; every request is allowed.</td>
</tr>
<tr>
<td><code>--remote-only</code></td>
<td>off</td>
<td>Expose only the <a href="remote-sessions/#routes">remote session routes</a>. Implies <code>--api-only</code>.</td>
</tr>
<tr>
<td><code>--debug-api</code></td>
<td>off</td>
<td>Include tracebacks and worker stderr in error responses.</td>
</tr>
<tr>
<td><code>--debug</code></td>
<td>off</td>
<td>Enable debug-level logging.</td>
</tr>
<tr>
<td><code>--caddy</code></td>
<td>off</td>
<td>Also launch <a href="https://caddyserver.com/">Caddy</a> as a reverse proxy, using the <code>Caddyfile</code> in your user-config directory.</td>
</tr>
</tbody>
</table>
<p>The <a href="../../guide/cli-reference/#serve"><code>serve</code> options</a> in the CLI reference give each flag, its
default and the flags that you cannot use together.</p>
<div class="language-shell highlight"><span class="filename">Serve the REST API only, on all interfaces</span><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>unshackle<span class="w"> </span>serve<span class="w"> </span>--api-only<span class="w"> </span>--host<span class="w"> </span><span class="m">0</span>.0.0.0<span class="w"> </span>--port<span class="w"> </span><span class="m">8786</span>
</span></code></pre></div>
<div class="admonition danger">