README: document BIND_ADDRESS for interface selection

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-21 00:33:19 +00:00
parent d8905902e7
commit 91630d35e6

View File

@@ -75,15 +75,21 @@ npm install
npm start npm start
``` ```
The server starts on port 3020 by default. Open [http://localhost:3020](http://localhost:3020) in The server starts on port 3020, bound to `localhost` only, by default.
your browser. Open [http://localhost:3020](http://localhost:3020) in your browser.
To use a different port: Both can be overridden with environment variables:
```bash ```bash
PORT=8080 npm start PORT=8080 npm start # different port
BIND_ADDRESS=0.0.0.0 npm start # all interfaces (LAN accessible)
BIND_ADDRESS=192.168.1.50 npm start # specific interface
PORT=8080 BIND_ADDRESS=0.0.0.0 npm start # both
``` ```
> **Note:** The default `localhost` binding means the app is only reachable from the same machine.
> Set `BIND_ADDRESS=0.0.0.0` to expose it on your local network.
## Data Storage ## Data Storage
All data is stored locally in a `data/` directory created automatically on first run: All data is stored locally in a `data/` directory created automatically on first run: