49 lines
1.1 KiB
Markdown
49 lines
1.1 KiB
Markdown
|
|
# Server Monitor (status.eventifyplus.com)
|
||
|
|
|
||
|
|
**Domain:** `status.eventifyplus.com`
|
||
|
|
**Local Path:** `/Users/bshtechnologies/Documents/eventify-server-monitor/`
|
||
|
|
**Container:** `eventify-server-monitor`
|
||
|
|
**Port:** 3002
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Tech Stack
|
||
|
|
|
||
|
|
| Layer | Technology |
|
||
|
|
|-------|-----------|
|
||
|
|
| Runtime | Node.js 20 (Alpine) |
|
||
|
|
| Architecture | Monorepo (client + server workspaces) |
|
||
|
|
| Build | Multi-stage Docker build |
|
||
|
|
| Client | React (built and served by server) |
|
||
|
|
|
||
|
|
## Docker Setup
|
||
|
|
|
||
|
|
**Dockerfile:** Multi-stage Node.js 20-alpine build
|
||
|
|
- Stage 1: Build client + server
|
||
|
|
- Stage 2: Production image, serves on port 3002
|
||
|
|
- Entry: `npm run --workspace=server start`
|
||
|
|
|
||
|
|
**docker-compose.yml:**
|
||
|
|
```yaml
|
||
|
|
container: eventify-server-monitor
|
||
|
|
port: 3002:3002
|
||
|
|
network: eventify-net (external)
|
||
|
|
volume: /app/data (persisted)
|
||
|
|
```
|
||
|
|
|
||
|
|
## Configuration
|
||
|
|
- App URL: `https://status.eventifyplus.com`
|
||
|
|
- SMTP: `mail.bshtech.net:587` (noreply@bshtech.net)
|
||
|
|
- SSH host mapping: `host.docker.internal` as ubuntu user
|
||
|
|
|
||
|
|
## Features
|
||
|
|
- Uptime monitoring for all Eventify services
|
||
|
|
- Performance metrics
|
||
|
|
- Alert notifications via email
|
||
|
|
|
||
|
|
## Notes
|
||
|
|
|
||
|
|
## Related
|
||
|
|
- [[Server & Docker]]
|
||
|
|
- [[09 - Projects/Backend - Django]]
|