Change default server port from 3000 to 8080
Updates the default PORT across backend, Dockerfile, README docs, the Android client's fallback URLs/placeholders, and the frontend dev proxy. Touched files also pick up line-ending normalization (CRLF->LF) with no other content changes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
84a32fe6b4
commit
f84907eb9b
11 files changed
+1042
-1042
No files matched your search
+3
-3
@@ -21,14 +21,14 @@ Svelte dashboard and the Android synchronization API from one container.
|
||||
cd ..
|
||||
docker build -f docker/Dockerfile -t collabtable-server .
|
||||
docker run -d --name collabtable-server --restart unless-stopped \
|
||||
-p 3000:3000 \
|
||||
-p 8080:8080 \
|
||||
-e DATABASE_URL=postgres://user:password@host:5432/collabtable \
|
||||
-e AUTHGUARD_URL=https://auth.example.com \
|
||||
-e COOKIE_SECURE=false \
|
||||
collabtable-server
|
||||
```
|
||||
|
||||
Open `http://localhost:3000` to create the first account. Generate an API token from
|
||||
Open `http://localhost:8080` to create the first account. Generate an API token from
|
||||
the dashboard's Settings menu and enter it in the Android app.
|
||||
|
||||
## Local development
|
||||
@@ -108,7 +108,7 @@ unrelated to AuthGuard (see below), hashed at rest, and shown only when generate
|
||||
|
||||
## Environment variables
|
||||
|
||||
- `PORT` — HTTP port, default `3000`
|
||||
- `PORT` — HTTP port, default `8080`
|
||||
- `APP_VERSION` — optional version displayed in the dashboard, default `dev`
|
||||
- `COOKIE_SECURE` — set to `true` when served over HTTPS
|
||||
- `DATABASE_URL` — PostgreSQL connection string, required
|
||||
|
||||
Reference in new issue
Block a user