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
@@ -40,7 +40,7 @@ The device-sync API token (generated from the dashboard's Settings page, used by
|
||||
|----------|----------|---------|--------------|
|
||||
| `DATABASE_URL` | Yes | — | PostgreSQL connection string (bring your own instance) |
|
||||
| `AUTHGUARD_URL` | No | unset (auth disabled) | Base URL of the AuthGuard identity service. Leaving it unset disables authentication entirely rather than falling back to local auth. |
|
||||
| `PORT` | No | `3000` | HTTP listen port |
|
||||
| `PORT` | No | `8080` | HTTP listen port |
|
||||
| `APP_VERSION` | No | `dev` | Version label shown on the dashboard's About page |
|
||||
| `COOKIE_SECURE` | No | `false` | Set `true` once served over HTTPS, to mark cookies `Secure` |
|
||||
| `DB_INIT_RETRY_INTERVAL_MS` | No | `5000` | Delay between database-connection retry attempts at startup |
|
||||
@@ -60,13 +60,13 @@ docker build -t collabtable:local -f docker/Dockerfile .
|
||||
docker run -d \
|
||||
--name collabtable \
|
||||
--restart unless-stopped \
|
||||
-p 3000:3000 \
|
||||
-p 8080:8080 \
|
||||
-e DATABASE_URL="postgresql://user:password@host:5432/collabtable" \
|
||||
-e AUTHGUARD_URL="https://auth.example.com" \
|
||||
collabtable:local
|
||||
```
|
||||
|
||||
Open **http://\<host\>:3000**, complete setup (this registers the first account against AuthGuard), then generate a device-sync API token from the dashboard's Settings page for the Android app.
|
||||
Open **http://\<host\>:8080**, complete setup (this registers the first account against AuthGuard), then generate a device-sync API token from the dashboard's Settings page for the Android app.
|
||||
|
||||
---
|
||||
|
||||
@@ -100,7 +100,7 @@ Other frontend scripts: `npm run build`, `npm run format`.
|
||||
|
||||
### Android
|
||||
|
||||
Open `CollabTableAndroid` in Android Studio, let Gradle sync, and run on an emulator or device. In the app's Settings, point it at the backend (`http://10.0.2.2:3000/api/` for an emulator) with the API token generated from the dashboard.
|
||||
Open `CollabTableAndroid` in Android Studio, let Gradle sync, and run on an emulator or device. In the app's Settings, point it at the backend (`http://10.0.2.2:8080/api/` for an emulator) with the API token generated from the dashboard.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user