Update health endpoint to use a supported port

Update the Aethex Sentinel bot's health endpoint from port 8044 to port 8080 in replit.md and src/core/config.ts to comply with Replit's supported ports.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e72fc1b7-94bd-4d6c-801f-cbac2fae245c
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: fe9e5043-1b56-4384-b091-371378a061f1
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/e72fc1b7-94bd-4d6c-801f-cbac2fae245c/yLuYpX9
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sirpiglr 2025-12-07 21:26:15 +00:00
parent effe0c6d1f
commit 67d67780f2
4 changed files with 6 additions and 10 deletions

View file

@ -18,10 +18,6 @@ expertMode = true
localPort = 5000 localPort = 5000
externalPort = 80 externalPort = 80
[[ports]]
localPort = 41339
externalPort = 3000
[workflows] [workflows]
runButton = "Project" runButton = "Project"

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

View file

@ -116,7 +116,7 @@ Aethex Sentinel is a TypeScript-based Discord bot built with the Sapphire framew
- **Runtime**: Node.js 20 + TypeScript - **Runtime**: Node.js 20 + TypeScript
- **Framework**: @sapphire/framework - **Framework**: @sapphire/framework
- **Database**: PostgreSQL (via Prisma ORM) - **Database**: PostgreSQL (via Prisma ORM)
- **Health Endpoint**: HTTP server on port 8044 - **Health Endpoint**: HTTP server on port 8080
## Project Structure ## Project Structure
@ -176,7 +176,7 @@ sentinel-bot/
The bot exposes a health endpoint compatible with Bot Master dashboard: The bot exposes a health endpoint compatible with Bot Master dashboard:
**GET /health** (port 8044) **GET /health** (port 8080)
```json ```json
{ {
"status": "online", "status": "online",
@ -191,7 +191,7 @@ The bot exposes a health endpoint compatible with Bot Master dashboard:
} }
``` ```
**GET /stats** (port 8044) **GET /stats** (port 8080)
```json ```json
{ {
"guilds": [ "guilds": [
@ -211,7 +211,7 @@ Required secrets (add in Replit Secrets tab):
Optional configuration: Optional configuration:
- `HUB_GUILD_ID` - Main hub server ID - `HUB_GUILD_ID` - Main hub server ID
- `FEDERATION_GUILD_IDS` - Comma-separated list of guild IDs - `FEDERATION_GUILD_IDS` - Comma-separated list of guild IDs
- `HEALTH_PORT` - Health server port (default: 8044) - `HEALTH_PORT` - Health server port (default: 8080)
## Running the Bot ## Running the Bot
@ -235,7 +235,7 @@ Once the Sentinel bot is running, add it to Bot Master dashboard:
1. Go to Bot Master dashboard (port 5000) 1. Go to Bot Master dashboard (port 5000)
2. Click "Add Bot" 2. Click "Add Bot"
3. Enter name: "Aethex Sentinel" 3. Enter name: "Aethex Sentinel"
4. Enter health endpoint: `http://localhost:8044/health` 4. Enter health endpoint: `http://localhost:8080/health`
5. Select type: "discord" 5. Select type: "discord"
The dashboard will automatically poll the health endpoint for status updates. The dashboard will automatically poll the health endpoint for status updates.

View file

@ -24,7 +24,7 @@ export const config = {
}, },
health: { health: {
port: parseInt(process.env.HEALTH_PORT || '8044'), port: parseInt(process.env.HEALTH_PORT || '8080'),
}, },
}; };