System requirements
Hardware and software requirements for self-hosting Synjar.
Hardware
Minimum
For development and small teams (<10 users):
| Resource | Minimum |
|---|---|
| CPU | 2 cores |
| RAM | 4 GB |
| Disk | 20 GB |
Recommended
For production and larger teams:
| Resource | Recommended |
|---|---|
| CPU | 4+ cores |
| RAM | 8+ GB |
| Disk | 100+ GB SSD |
Scaling notes
- CPU scales linearly with concurrent users
- RAM needed increases with document count
- Disk usage depends on document storage
Software
Required
| Component | Version |
|---|---|
| Docker | 20.10+ |
| OR Node.js | 20+ |
| PostgreSQL | 14+ |
| S3-compatible storage | Any |
Optional
| Component | Purpose |
|---|---|
| Redis | Caching (improves performance) |
| SMTP server | Email notifications |
| Reverse proxy | SSL/TLS termination |
Network
Ports
| Port | Service | Required |
|---|---|---|
| 6200 | Synjar API | Yes |
| 5432 | PostgreSQL | Yes |
| S3 port | Object storage | Yes |
| 25/587 | SMTP | Optional |
Outbound access
Synjar needs outbound access to:
- OpenAI API (
api.openai.com) - S3 storage endpoint
- SMTP server (if configured)
Database
PostgreSQL
- Version 14 or higher
- pgvector extension (auto-installed)
- 1 GB minimum allocated storage
Connection requirements
- SSL recommended for remote connections
- Connection pooling recommended for production (PgBouncer)
Storage
S3-compatible storage
Synjar stores documents in S3-compatible storage:
- AWS S3
- Backblaze B2 (recommended for cost)
- MinIO (self-hosted)
- Google Cloud Storage (S3 compatibility mode)
Storage sizing
| Documents | Estimated storage |
|---|---|
| 100 | ~500 MB |
| 1,000 | ~5 GB |
| 10,000 | ~50 GB |
Actual size varies by document type and size.
OpenAI API
Synjar requires OpenAI API access for:
- Generating embeddings
- Semantic search
API requirements
- Valid API key
- Access to
text-embedding-ada-002model - Sufficient API credits
Estimated API costs
| Documents | Monthly cost (approx) |
|---|---|
| 100 | $0.10 |
| 1,000 | $1.00 |
| 10,000 | $10.00 |
Based on average document size. Actual costs vary.