Change default server port from 3000 to 8080
Docker / Docker Build & Push (push) Successful in 4m45s
Lint / Lint (push) Successful in 45s
Tests / Go backend (push) Successful in 52s
Tests / Dashboard checks (push) Successful in 50s

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:
Gabriel20xxandClaude Sonnet 5 committed 2026-09-08 17:05:34 +02:00
1 parent 84a32fe6b4
commit f84907eb9b
11 files changed
+1042 -1042

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
#################################################################
# Server
#################################################################
PORT=3000
PORT=8080
APP_VERSION=dev
# Set to "true" once served over HTTPS - marks the admin session cookie Secure.
+3 -3
View File
@@ -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
+1 -1
View File
@@ -33,7 +33,7 @@ type Server struct {
}
func main() {
port := envOrDefault("PORT", "3000")
port := envOrDefault("PORT", "8080")
connectionString := strings.TrimSpace(os.Getenv("DATABASE_URL"))
if connectionString == "" {
fmt.Fprintln(os.Stderr, "DATABASE_URL environment variable is required")