Default installer to full Docker setup

This commit is contained in:
2026-10-09 21:50:22 +01:00
parent f700d1beb2
commit a3e4d7817a
5 changed files with 33 additions and 23 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Complete installer (recommended for both services in Docker)
Run `./install.sh --docker` from an interactive terminal. It handles Compose
Run `./install.sh` from an interactive terminal (Docker is the default). It handles Compose
configuration, ntfy users/permissions/token, image build, container skill install,
first-time container OpenCode provider login, startup, and an authenticated test
notification. Choose your own provider in OpenCode; signup/login credentials stay
+7 -6
View File
@@ -1,7 +1,7 @@
# Installation
The interactive installer offers **Docker server + ntfy** (default) or **native
binaries only**. Native installation requires Go; Docker setup requires Docker
`./install.sh` sets up **Docker server + ntfy** by default. Use `--native` for
native binaries only. Native installation requires Go; Docker setup requires Docker
Compose and Python 3, and includes OpenCode in the persistent server container.
```sh
@@ -26,18 +26,19 @@ the publishing/phone accounts and publishing token, builds the server, installs
the skill inside the container, and opens **container OpenCode provider login**
on first setup. Choose any supported provider; signup is handled by that provider.
Provider credentials remain in the `opencode-home` volume. Reinstalls skip login
after completed setup; `./install.sh --docker --relogin` opens it again without
after completed setup; `./install.sh --relogin` opens it again without
deleting accounts. The installer then starts/recreates the Compose services,
checks ntfy health through Pipelines, and sends an authenticated test notification.
It does not register an OS service, delete volumes, or seed pipeline definitions.
Phone reception/model inference are not verified by installation.
For fresh configuration you can supply `--ntfy-url https://ntfy.example.com
--bind-address 127.0.0.1 --timezone Europe/London --port 8081` after `--docker`.
--bind-address 127.0.0.1 --timezone Europe/London --port 8081` directly to `./install.sh`.
Use a LAN/VPN interface IP instead of loopback for direct phone access; only use
plain HTTP on a trusted network. Existing `.env` settings are never silently
replaced. Without a terminal, no-argument installation remains binary-only and
prints that limitation; use an interactive terminal for first Docker/provider setup.
replaced. Docker is also the default without a terminal; setup fails rather than
silently falling back to native binaries if required setup input is unavailable.
Use an interactive terminal for first Docker/provider setup.
Install native mode as well if you want host CLI/TUI binaries; Docker mode installs
the server and CLI in its image. See [Docker setup](docker.md).