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
@@ -4,7 +4,7 @@ Everything runs here: the app, its Postgres database, sign-in and the REST API (
| Container | What it does | Port |
| --- | --- | --- |
| gateway | nginx: broke plus `/auth/v1` and `/rest/v1` on one address | `HTTP_PORT` (3000) |
| gateway | nginx: broke plus `/auth/v1` and `/rest/v1` on one address | `HTTP_PORT` (3001) |
| broke | the app, built from this checkout | inside only |
| db | Supabase's Postgres image | inside only |
| auth | Supabase Auth (GoTrue): email sign-in links | inside only |
@@ -14,16 +14,16 @@ Everything runs here: the app, its Postgres database, sign-in and the REST API (
## First start
1. Pick the address you will open broke on, for example `http://192.168.1.10:3000` (your Unraid IP; not `localhost`, the containers need to reach it too). Then make the secrets:
1. Pick the address you will open broke on, for example `http://192.168.1.10:3001` (your Unraid IP; not `localhost`, the containers need to reach it too). Then make the secrets:
```bash
node docker/setup.mjs --url http://192.168.1.10:3000
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
```
On Unraid, edit `docker/.env` and set `DATA_DIR=/mnt/user/appdata/brokeless`.