Skip to content

Commit a8e38af

Browse files
committed
chore: align default runtime port to 8080
1 parent 316f562 commit a8e38af

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pnpm ci # local CI sequence (lint, test, build, e2e)
1919
```
2020
Server-only loop:
2121
```bash
22-
cd apps/server && go run ./cmd/woottyd run --host 127.0.0.1 --port 3000
22+
cd apps/server && go run ./cmd/woottyd run --host 127.0.0.1 --port 8080
2323
```
2424

2525
## Coding Style & Naming Conventions

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ COPY --from=server-builder /out/woottyd /usr/local/bin/wootty
3737
RUN ln -s /usr/local/bin/wootty /usr/local/bin/woottyd \
3838
&& ln -s /usr/local/bin/wootty /app/apps/server/woottyd
3939

40-
EXPOSE 3000
40+
EXPOSE 8080
4141

4242
CMD ["wootty", "run", "bash"]

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ WooTTY is a clean-slate browser terminal designed for one non-negotiable outcome
4242
Stable image from GitHub Container Registry:
4343

4444
```bash
45-
docker run --rm -it -p 3000:3000 ghcr.io/icoretech/wootty:latest
45+
docker run --rm -it -p 8080:8080 ghcr.io/icoretech/wootty:latest
4646
```
4747

48-
Then open `http://127.0.0.1:3000`.
48+
Then open `http://127.0.0.1:8080`.
4949

5050
Pin by version:
5151

5252
```bash
53-
docker run --rm -it -p 3000:3000 ghcr.io/icoretech/wootty:v0.2.0
53+
docker run --rm -it -p 8080:8080 ghcr.io/icoretech/wootty:v0.2.0
5454
```
5555

5656
Run a custom command:
5757

5858
```bash
59-
docker run --rm -it -p 3000:3000 \
59+
docker run --rm -it -p 8080:8080 \
6060
-e WOOTTY_COMMAND=/bin/bash \
6161
-e WOOTTY_COMMAND_ARGS="-l" \
6262
ghcr.io/icoretech/wootty:latest
@@ -70,14 +70,14 @@ pnpm dev
7070
```
7171

7272
- Web: `http://localhost:5173`
73-
- Server: `http://127.0.0.1:3000`
73+
- Server: `http://127.0.0.1:8080`
7474

7575
Production-like local run:
7676

7777
```bash
7878
pnpm build
7979
cd apps/server
80-
go run ./cmd/woottyd run --port 3000 bash
80+
go run ./cmd/woottyd run --port 8080 bash
8181
```
8282

8383
## Run with Docker
@@ -86,7 +86,7 @@ Build locally:
8686

8787
```bash
8888
docker build -t wootty:dev .
89-
docker run --rm -it -p 3000:3000 wootty:dev
89+
docker run --rm -it -p 8080:8080 wootty:dev
9090
```
9191

9292
The container serves:
@@ -130,7 +130,7 @@ Session controls:
130130
| Variable | Default | Description |
131131
| --- | --- | --- |
132132
| `WOOTTY_HOST` | `0.0.0.0` | Bind address |
133-
| `WOOTTY_PORT` | `3000` | HTTP/WebSocket port |
133+
| `WOOTTY_PORT` | `8080` | HTTP/WebSocket port |
134134
| `WOOTTY_RECONNECT_GRACE_MS` | `30000` | Session retention window while reconnecting |
135135
| `WOOTTY_HISTORY_BYTES` | `5242880` | Buffered output bytes for replay |
136136
| `WOOTTY_COMMAND` | `$SHELL` or `bash` | Executed command |

apps/server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Implemented behavior:
1717

1818
```bash
1919
cd apps/server
20-
go run ./cmd/woottyd run --host 127.0.0.1 --port 3000
20+
go run ./cmd/woottyd run --host 127.0.0.1 --port 8080
2121
```
2222

2323
With frontend dev server:

apps/server/internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
const (
13-
DefaultPort = 3000
13+
DefaultPort = 8080
1414
DefaultHistoryBytes = 5 * 1024 * 1024
1515
DefaultReconnectGraceMS = 30_000
1616
)

apps/web/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default defineConfig({
1212
server: {
1313
proxy: {
1414
"/api": {
15-
target: "http://127.0.0.1:3000",
15+
target: "http://127.0.0.1:8080",
1616
ws: true,
1717
},
1818
},

0 commit comments

Comments
 (0)