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
externalPort = 80
[[ports]]
localPort = 41339
externalPort = 3000
[workflows]
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
- **Framework**: @sapphire/framework
- **Database**: PostgreSQL (via Prisma ORM)
- **Health Endpoint**: HTTP server on port 8044
- **Health Endpoint**: HTTP server on port 8080
## Project Structure
@ -176,7 +176,7 @@ sentinel-bot/
The bot exposes a health endpoint compatible with Bot Master dashboard:
**GET /health** (port 8044)
**GET /health** (port 8080)
```json
{
"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
{
"guilds": [
@ -211,7 +211,7 @@ Required secrets (add in Replit Secrets tab):
Optional configuration:
- `HUB_GUILD_ID` - Main hub server ID
- `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
@ -235,7 +235,7 @@ Once the Sentinel bot is running, add it to Bot Master dashboard:
1. Go to Bot Master dashboard (port 5000)
2. Click "Add Bot"
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"
The dashboard will automatically poll the health endpoint for status updates.

View file

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