Files
2025-10-20 00:53:27 +01:00

38 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- **Frontend Service** (serving React frontend)
- Communicates with backend APIs via HTTPS
- Authenticates users via JWT tokens
- **Messenger**
- Handles realtime messaging (WebSocket or long polling)
- Stores message metadata in Postgres
- Uses Redis for message caching
- **CDN Service** (user uploaded media)
- Receives uploads, stores files on object storage
- Generates signed URLs with built in auth for secure access
- **LLM Service**
- Exposes languagemodel inference API for scripts
- Runs model in a containerized environment
- Stores usage logs in Postgres
- **Auth Service** (user authentication & authorization)
- Validates credentials and issues JWTs
- Manages refresh tokens and token revocation
- Persists session state and audit logs in PostgreSQL
- **Script Runner**
- Executes user or system scripts on demand
- Isolates execution in sandbox containers
- Provides access to "Tables" - SQLite files kept in object storage
- Persists logs to Postgres
- **Redis Cache**
- Provides distributed caching for session data and messages
- **PostgreSQL Service** (with volumes)
- Stores relational data: users, messages, media metadata, script logs
- Uses Docker volume for persistent storage
- Backed up via scheduled snapshots
```