mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:01:09 +02:00
chore(mana-events): move from port 3065 to 3115 — collision with platform mana-media
Platform-Repo (Code/mana/) reserviert 3065 für mana-media; um Doppel- Belegung zu vermeiden wandert mana-events (Public-RSVP / Event-Sharing) auf 3115. Neuer Port-Block 311x ist unbenutzt und gehört strukturell neben mana-mail (3042) bzw. die anderen 30xx Service-Ports. Berührt jeden harden-coded 3065-Default — Server-Config, Webapp-Config, SSR-Routes (rsvp/[token], status), Playwright-Webserver-Setup, e2e-Spec. PUBLIC_MANA_EVENTS_URL in .env.development zieht beide Variablen mit. PORT_SCHEMA.md trägt jetzt den Wechsel mit Datum + Begründung — zukünftiges Ich soll nicht raten warum der Port aus der 30xx-Reihe ausschert. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
546b94d472
commit
1b579ab0b0
9 changed files with 15 additions and 13 deletions
|
|
@ -11,7 +11,7 @@ Public RSVP and event-sharing service. Hosts publish event snapshots from the Ma
|
|||
| **Database** | PostgreSQL + Drizzle ORM |
|
||||
| **Auth** | EdDSA JWT validation via JWKS from mana-auth (`jose`) — host-side only; RSVP endpoints are intentionally unauthenticated |
|
||||
|
||||
## Port: 3065
|
||||
## Port: 3115
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ The Hono app lives in `app.ts` (exporting a `createApp(db, config)` factory) so
|
|||
## Configuration
|
||||
|
||||
```env
|
||||
PORT=3065
|
||||
PORT=3115
|
||||
DATABASE_URL=postgresql://...
|
||||
MANA_AUTH_URL=http://localhost:3001
|
||||
CORS_ORIGINS=http://localhost:5173,https://mana.how
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export function loadConfig(): Config {
|
|||
};
|
||||
|
||||
return {
|
||||
port: parseInt(process.env.PORT || '3065', 10),
|
||||
port: parseInt(process.env.PORT || '3115', 10),
|
||||
databaseUrl: requiredEnv(
|
||||
'DATABASE_URL',
|
||||
'postgresql://mana:devpassword@localhost:5432/mana_platform'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue