Archived
feat: unify Docker entrypoint
This commit is contained in:
+23
-1
@@ -92,6 +92,7 @@
|
||||
<a href="#requirements">Requirements</a>
|
||||
<a href="#user-services">User service install</a>
|
||||
<a href="#one-line">One-line install</a>
|
||||
<a href="#docker-beta">Docker beta install</a>
|
||||
<a href="#pi-package">Install through Pi</a>
|
||||
<a href="#manual-run">WSL / manual run</a>
|
||||
<a href="#remote-access">Remote access</a>
|
||||
@@ -139,7 +140,7 @@
|
||||
|
||||
<section id="one-line">
|
||||
<h2>One-line install</h2>
|
||||
<p>If you prefer a curl pipe, use the repository installer:</p>
|
||||
<p>If you prefer a curl pipe for the native user-service install, use the repository installer. This path still requires Node.js, npm, and Pi Coding Agent on the host.</p>
|
||||
<div class="code-card">
|
||||
<div class="copy-row">
|
||||
<strong>One-liner</strong>
|
||||
@@ -149,6 +150,27 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="docker-beta">
|
||||
<h2>Docker beta install</h2>
|
||||
<p>
|
||||
The beta Docker runtime builds a local image and runs split <code>sessiond</code> + <code>web</code> services. It does not require
|
||||
Node.js or npm on the host; it requires a supported Docker/Compose setup and trusted host paths.
|
||||
</p>
|
||||
<div class="code-card">
|
||||
<div class="copy-row">
|
||||
<strong>Docker one-liner</strong>
|
||||
<button class="copy-button" data-copy="#docker-one-line-install">Copy</button>
|
||||
</div>
|
||||
<pre id="docker-one-line-install"><code><span class="prompt">$</span> curl -fsSL https://raw.githubusercontent.com/jmfederico/pi-web/main/docker/install.sh | sh</code></pre>
|
||||
</div>
|
||||
<p>
|
||||
After installation, manage it with <code>~/.local/share/pi-web-docker/pi-web-docker status</code>, <code>update</code>,
|
||||
<code>restart</code>, <code>logs</code>, and related commands. Development mode uses
|
||||
<code>./docker/pi-web-docker --dev <command></code> from a checkout.
|
||||
</p>
|
||||
<p><a href="https://github.com/jmfederico/pi-web/blob/main/docker/README.md">Read the Docker guide</a> for the trust model, supported host profiles, command matrix, root-safety notes, and development mode.</p>
|
||||
</section>
|
||||
|
||||
<section id="pi-package">
|
||||
<h2>Install through Pi</h2>
|
||||
<p>PI WEB is also published as a Pi package. This exposes a <code>/pi-web</code> command inside Pi.</p>
|
||||
|
||||
+1
-1
@@ -262,7 +262,7 @@ After editing, check the manifest endpoint and browser-console failure cases.</c
|
||||
"title": "Start Docker",
|
||||
"group": "Docker",
|
||||
"description": "Start the local Docker Compose environment.",
|
||||
"command": "./docker/scripts/docker-compose-dev up -d"
|
||||
"command": "./docker/pi-web-docker --dev start"
|
||||
},
|
||||
{
|
||||
"id": "db.reset",
|
||||
|
||||
+1
-1
@@ -227,7 +227,7 @@ Configure workspace tasks in `.pi-web/tasks.json`:
|
||||
"title": "Start Docker",
|
||||
"group": "Docker",
|
||||
"description": "Start the local Docker Compose environment.",
|
||||
"command": "./docker/scripts/docker-compose-dev up -d"
|
||||
"command": "./docker/pi-web-docker --dev start"
|
||||
},
|
||||
{
|
||||
"id": "db.reset",
|
||||
|
||||
Reference in New Issue
Block a user