Bind both Docker services to 0.0.0.0 by default

This commit is contained in:
2026-10-09 22:07:46 +01:00
parent de3a3c2363
commit f3d829bea5
8 changed files with 59 additions and 17 deletions
+8 -4
View File
@@ -21,8 +21,9 @@ Re-running installation updates the binaries and bundled OpenCode skill without
changing databases, login, or OpenCode configuration files.
Docker mode detects the computer's LAN IPv4 address and timezone automatically,
configures `http://LAN_IP:8090`, and binds ntfy to that LAN interface without asking
for networking settings (timezone falls back to UTC). It preserves an existing `.env`, bootstraps
configures `http://LAN_IP:8090`, and binds both Docker services to `0.0.0.0` without asking
for networking settings (timezone falls back to UTC). On reinstall it updates only
the bind settings to `0.0.0.0` and retains existing URLs/timezone/ports/credentials. It bootstraps
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.
@@ -36,10 +37,13 @@ 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` directly to `./install.sh`.
The defaults are ready for direct phone access on your trusted LAN. Only use
plain HTTP on a trusted network. Existing `.env` settings are never silently
replaced. Docker is also the default without a terminal; setup fails rather than
plain HTTP on a trusted network. Other existing `.env` settings are not replaced.
Docker is also the default without a terminal; setup fails rather than
silently falling back to native binaries if the LAN address cannot be detected.
Use an interactive terminal for first Docker/provider setup.
The Docker Pipelines API is unauthenticated: keep its port on a trusted network
and do not forward it to the Internet. For a manual loopback-only deployment,
set `PIPELINES_BIND_ADDRESS=127.0.0.1` after installation and use Compose directly.
Ctrl+C cancels cleanly without deleting configuration, credentials or volumes.
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).