Docker: default to port 3001

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MangaValkandClaude Opus 5.5 committed 2026-11-17 14:47:15 +01:00
1 parent cec3b15c2c
commit 7f60b51374
4 files changed
+13 -13

No files matched your search

+4 -4
View File
@@ -33,13 +33,13 @@ Needs Docker with Compose. The steps below use Unraid's IP as the example, but a
2. Make the secrets. Use the address you'll open brokeless on, with your server's LAN IP or name (not `localhost`: the containers need to reach it too):
```bash
cd brokeless && node docker/setup.mjs --url http://192.168.1.10:3000
cd brokeless && node docker/setup.mjs --url http://192.168.1.10:3001
```
No Node on the server:
```bash
docker run --rm -v "$PWD":/w -w /w node:22-alpine node docker/setup.mjs --url http://192.168.1.10:3000
docker run --rm -v "$PWD":/w -w /w node:22-alpine node docker/setup.mjs --url http://192.168.1.10:3001
```
This writes `docker/.env` with a new database password, signing keys and a Mailpit password. On Unraid, set `DATA_DIR=/mnt/user/appdata/brokeless` in it.
@@ -58,7 +58,7 @@ Needs Docker with Compose. The steps below use Unraid's IP as the example, but a
Leave out `--profile ai` to run without AI.
4. Open `http://192.168.1.10:3000` and type your email. Open Mailpit on port 8025 (user `broke`, password `MAIL_PASSWORD` from `docker/.env`) and click the sign-in link.
4. Open `http://192.168.1.10:3001` and type your email. Open Mailpit on port 8025 (user `broke`, password `MAIL_PASSWORD` from `docker/.env`) and click the sign-in link.
5. Lock it to you: set `DISABLE_SIGNUP=true` in `docker/.env`, then run the `up -d` command again.
@@ -68,7 +68,7 @@ More detail, including what each container does: [docker/README.md](docker/READM
## Keep it private
- Keep port 3000 and 8025 on your LAN or behind a VPN like Tailscale. Don't forward them on your router.
- Keep port 3001 and 8025 on your LAN or behind a VPN like Tailscale. Don't forward them on your router.
- Back up `DATA_DIR/db` and `docker/.env` together. The database is useless without the secrets in `.env`.
- `docker/.env` is in `.gitignore`. Never commit it.