feat: change default listen port from 3000 to 1852 (#756)

Updates the backend listen port, Vite dev proxy target, Docker EXPOSE,
compose port mapping, .env.example default, GitHub Actions smoke-test
default, healthcheck URLs, and every doc/example reference. Test fixtures
that include example URLs were updated for consistency, though their
assertions are port-agnostic.

The rate-limit value of 3000 in middleware/rateLimiters.ts and the
3000 entry in WEB_UI_PORTS (which detects user containers like Grafana)
are intentionally untouched.
This commit is contained in:
Anso
2026-04-24 22:23:31 -04:00
committed by GitHub
parent d6b744e8e6
commit ed553f1f19
27 changed files with 72 additions and 72 deletions
+3 -3
View File
@@ -28,7 +28,7 @@ services:
container_name: sencho
restart: unless-stopped
ports:
- "3000:3000"
- "1852:1852"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/app/data
@@ -43,7 +43,7 @@ services:
docker compose up -d
```
Then open `http://your-server:3000` and create your admin account.
Then open `http://your-server:1852` and create your admin account.
See the [full documentation](https://docs.sencho.io) for configuration details, multi-node setup, and more.
@@ -57,7 +57,7 @@ cd backend && npm install && npm run dev
cd frontend && npm install && npm run dev
```
The frontend dev server proxies `/api` requests to the backend on port 3000.
The frontend dev server proxies `/api` requests to the backend on port 1852.
## Contributing