mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:41:09 +02:00
- Add Swagger/OpenAPI documentation at /docs endpoint - Add admin module for system-wide API key management - Add scheduler for monthly credit reset and usage cleanup - Add Docker Compose entry for Mac Mini deployment - Document all endpoints with descriptions and examples
37 lines
812 B
Text
37 lines
812 B
Text
# Server
|
|
PORT=3030
|
|
NODE_ENV=development
|
|
|
|
# Database (same as mana-core-auth)
|
|
DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/manacore
|
|
|
|
# Redis
|
|
REDIS_HOST=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
|
|
# Backend Services
|
|
SEARCH_SERVICE_URL=http://localhost:3021
|
|
STT_SERVICE_URL=http://localhost:3020
|
|
TTS_SERVICE_URL=http://localhost:3022
|
|
|
|
# Auth Service (for JWT validation & credits)
|
|
MANA_CORE_AUTH_URL=http://localhost:3001
|
|
|
|
# API Key Generation
|
|
API_KEY_PREFIX_LIVE=sk_live_
|
|
API_KEY_PREFIX_TEST=sk_test_
|
|
|
|
# Rate Limiting Defaults
|
|
DEFAULT_RATE_LIMIT=10
|
|
DEFAULT_MONTHLY_CREDITS=100
|
|
|
|
# CORS
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
|
|
|
|
# Development Auth Bypass
|
|
DEV_BYPASS_AUTH=true
|
|
DEV_USER_ID=00000000-0000-0000-0000-000000000000
|
|
|
|
# Admin Access (comma-separated user IDs)
|
|
ADMIN_USER_IDS=
|