Skip to content

Commit 00f2fbc

Browse files
committed
fix: corrected port number
1 parent ce1facd commit 00f2fbc

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ npm run dev # runs the api service in watch mode
7272
Probe it:
7373

7474
```bash
75-
curl localhost:3000/health # liveness
76-
curl localhost:3000/health/ready # readiness (DB)
77-
curl localhost:3000/metrics # Prometheus metrics
75+
curl localhost:3030/health # liveness
76+
curl localhost:3030/health/ready # readiness (DB)
77+
curl localhost:3030/metrics # Prometheus metrics
7878
```
7979

8080
## Required external setup
@@ -91,7 +91,7 @@ These can't be scripted for you and gate the live run (not the build or tests):
9191
`GITHUB_APP_PRIVATE_KEY` (inline, `\n`-escaped) or `GITHUB_APP_PRIVATE_KEY_PATH`.
9292

9393
For local dev, tunnel webhooks with [smee.io](https://smee.io) or ngrok to
94-
`localhost:3000/webhooks/github`.
94+
`localhost:3030/webhooks/github`.
9595

9696
### 2. Provision Hermes (automated, isolated)
9797

api/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ── Server ────────────────────────────────────────────────────────────────
2-
PORT=3000
2+
PORT=3030
33
NODE_ENV=development
44
LOG_LEVEL=info
55

api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ COPY --from=builder /app/dist ./dist
2626
COPY --from=builder /app/prisma ./prisma
2727
COPY docker-entrypoint.sh ./
2828
RUN chmod +x docker-entrypoint.sh
29-
EXPOSE 3000
29+
EXPOSE 3030
3030
ENTRYPOINT ["./docker-entrypoint.sh"]

api/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ npm run build && npm run start:prod
5757
Verify it's up:
5858

5959
```bash
60-
curl localhost:3000/health # liveness
61-
curl localhost:3000/health/ready # readiness (database)
62-
curl localhost:3000/metrics # Prometheus metrics
60+
curl localhost:3030/health # liveness
61+
curl localhost:3030/health/ready # readiness (database)
62+
curl localhost:3030/metrics # Prometheus metrics
6363
```
6464

6565
## Testing

api/src/config/config.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const intFromString = (def: number) => z.coerce.number().int().default(def);
99

1010
export const envSchema = z.object({
1111
// server
12-
PORT: z.coerce.number().int().default(3000),
12+
PORT: z.coerce.number().int().default(3030),
1313
NODE_ENV: z.enum(['development', 'test', 'production']).default('development'),
1414
LOG_LEVEL: z.enum(['fatal', 'error', 'warn', 'info', 'debug', 'trace', 'silent']).default('info'),
1515

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
# Persist agent workspaces (cloned repos) across restarts.
1717
- hermes-workspaces:/app/.workspaces
1818
ports:
19-
- '3000:3000'
19+
- '3030:3030'
2020

2121
volumes:
2222
hermes-data:

0 commit comments

Comments
 (0)