Docker: default to port 3003
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
73bb30e9a1
commit
cc22098868
4 files changed
+13
-13
No files matched your search
+4
-4
@@ -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` (3001) |
|
||||
| gateway | nginx: broke plus `/auth/v1` and `/rest/v1` on one address | `HTTP_PORT` (3003) |
|
||||
| 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:3001` (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:3003` (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:3001
|
||||
node docker/setup.mjs --url http://192.168.1.10:3003
|
||||
```
|
||||
|
||||
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:3001
|
||||
docker run --rm -v "$PWD":/w -w /w node:22-alpine node docker/setup.mjs --url http://192.168.1.10:3003
|
||||
```
|
||||
|
||||
On Unraid, edit `docker/.env` and set `DATA_DIR=/mnt/user/appdata/brokeless`.
|
||||
|
||||
Reference in new issue
Block a user