Stack Sizer
תכנון משאבים ל-stack של אפליקציות self-hosted, ממקורות רשמיים.
עומס ואפשרויות
LibreChat
v1.0.0עומס
עד 50 משתמשים, עד 500 הודעות שמורות ביום (שאלות + תשובות), עד 0.5 GB מסמכים שהועלו לחיפוש בקבצים; היסטוריה של שנה.
אפשרויות
אין אפשרויות שמשנות את המשאבים של האפליקציה הזו.
משאבים מומלצים
דרישות האפליקציות + baseline של המערכת + מרווח בטיחות. לא מתווסף שום דבר אחר, ושום מספר לא מעוגל לגודל של מכונה.
vCPU 5.52, RAM 9 GiB, דיסק 34.422 GiB
vCPU5.52
RAM9GiB
דיסק34.422GiB
פירוט
| שורה | מקור השורה | vCPU | RAM (GiB) | דיסק (GiB) | מקורות |
|---|---|---|---|---|---|
| LibreChat | LibreChat (API and web client) · עומס בינוני | 1.5 | 2 | 4.499 | 12345 |
| LibreChat | MongoDB · עומס בינוני | 0.5 | 1 | 1.863 | 675 |
| LibreChat | Meilisearch · עומס בינוני | 0.5 | 0.75 | 6.522 | 89105 |
| LibreChat | PostgreSQL with pgvector · עומס בינוני | 1 | 1 | 6.5 | 111213141516171819202122 |
| LibreChat | rag_api (lite) · עומס בינוני | 1 | 1.5 | 2.048 | 232120245 |
| baseline של המערכת | מערכת הפעלה, container runtime (Docker Engine, containerd), יומני מערכת (journald), ועוד יומנים ל-5 containers | 0.1 | 1.25 | 8.5 | 252627282930 |
| מרווח בטיחות | vCPU 20%, RAM 20%, דיסק 15% מהאפליקציות + baseline | 0.92 | 1.5 | 4.49 | 3126322933 |
| סה״כ מומלץ | 5.52 | 9 | 34.422 |
מקורות
- LibreChat docs: deployment overview, minimum requirements 1 GiB RAM and 1 vCPU, 2 GB RAM suggested with everything enabled (LibreChat, נקרא ב-14 באוק׳ 2026)
- LibreChat v0.8.8 Dockerfile: node:24.16.0-alpine, USER node, creates /app/client/public/images, /app/logs, /app/uploads, /app/data, EXPOSE 3080, CMD npm run backend (LibreChat, נקרא ב-14 באוק׳ 2026)
- GHCR librechat-ai/librechat:v0.8.8 (linux/amd64): 988,662,027 B compressed, 2,804,835,840 B decompressed and counted; config User node, no Healthcheck; layers contain usr/bin/wget (LibreChat, נקרא ב-14 באוק׳ 2026)
- LibreChat v0.8.8 data-schemas winston config: log files on by default, daily rotation, maxSize 20m, maxFiles 14d (LibreChat, נקרא ב-14 באוק׳ 2026)
- Docker: containerd image store is the default on fresh Engine 29+ installs and keeps images compressed and uncompressed (LibreChat, נקרא ב-10 באוק׳ 2026)
- MongoDB manual: WiredTiger cache defaults to the larger of 50% of (RAM - 1 GB) or 256 MB; set --wiredTigerCacheSizeGB when the container cannot use all host RAM (LibreChat, נקרא ב-14 באוק׳ 2026)
- Docker Hub tag mongo:8.0.20 (linux/amd64): 312,915,385 B compressed; layers decompressed and counted: 957,032,960 B (LibreChat, נקרא ב-14 באוק׳ 2026)
- Meilisearch: Storage (LMDB never returns freed space; 9.1 MB JSON gave 224 MB on disk and ~305 MB RAM; RAM-to-disk 1/3, often 1/10, works well) (LibreChat, נקרא ב-14 באוק׳ 2026)
- Docker Hub tag getmeili/meilisearch:v1.35.1 (linux/amd64): 105,981,256 B compressed; layers decompressed and counted: 157,731,328 B (LibreChat, נקרא ב-14 באוק׳ 2026)
- LibreChat docs: Meilisearch (SEARCH=true plus a master key of 16+ bytes shared with the meilisearch service; keep port 7700 internal; reset-meili-sync) (LibreChat, נקרא ב-14 באוק׳ 2026)
- PostgreSQL 18 documentation: 19.4 Resource Consumption (LibreChat, נקרא ב-10 באוק׳ 2026)
- PostgreSQL 18 documentation: 19.3 Connections and Authentication (LibreChat, נקרא ב-10 באוק׳ 2026)
- PostgreSQL 18 documentation: 19.10 Vacuuming (autovacuum settings) (LibreChat, נקרא ב-10 באוק׳ 2026)
- PostgreSQL 18 documentation: 19.5 Write Ahead Log (max_wal_size) (LibreChat, נקרא ב-10 באוק׳ 2026)
- PostgreSQL 18 documentation: 51.2 How Connections Are Established (LibreChat, נקרא ב-10 באוק׳ 2026)
- Docker Official Image postgres: documentation (docker-library/docs) (LibreChat, נקרא ב-10 באוק׳ 2026)
- Docker Hub: library/postgres tag 18.6 (compressed image sizes) (LibreChat, נקרא ב-10 באוק׳ 2026)
- Docker Hub tag pgvector/pgvector:0.8.0-pg15-trixie (linux/amd64): 159,295,182 B compressed (152 MiB); layers decompressed and counted: 455,663,616 B (LibreChat, נקרא ב-14 באוק׳ 2026)
- pgvector v0.8.0 README: each vector takes 4 × dimensions + 8 bytes (LibreChat, נקרא ב-14 באוק׳ 2026)
- OpenAI embeddings guide: text-embedding-3-small returns 1536-dimensional vectors (LibreChat, נקרא ב-14 באוק׳ 2026)
- rag_api v0.9.0 app/config.py: RAG_PORT 8000, DB_HOST/DB_PORT/POSTGRES_* settings, RAG_OPENAI_API_KEY falls back to OPENAI_API_KEY, text-embedding-3-small, CHUNK_SIZE 1500, CHUNK_OVERLAP 100 (LibreChat, נקרא ב-14 באוק׳ 2026)
- LibreChat v0.8.8 docker-compose.yml: api on 3080 (librechat-data at /app/data), mongo:8.0.20 --noauth, meilisearch v1.35.1, pgvector 0.8.0-pg15-trixie, rag_api lite, admin-panel (LibreChat, נקרא ב-14 באוק׳ 2026)
- rag_api v0.9.0 README: EMBEDDING_BATCH_SIZE 500, EMBEDDING_MAX_QUEUE_SIZE 3, PARALLEL_EXECUTION 2 per upload; memory ≈ batch × (queue + parallel); smaller batches below 2 GB RAM (LibreChat, נקרא ב-14 באוק׳ 2026)
- GHCR manifest of librechat-ai/librechat-rag-api-dev-lite:v0.9.0 (linux/amd64): 539,995,713 B compressed; layers decompressed and counted: 1,659,485,184 B (LibreChat, נקרא ב-14 באוק׳ 2026)
- Ubuntu Server: System requirements (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- Google Kubernetes Engine: About GKE node sizing (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- ANAROQ measurement: dockerd and containerd at rest (Ubuntu 24.04, Docker 29.8.2) (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- Docker Community Forums: Docker resource usage & overhead (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- journald.conf(5), Ubuntu Manpages (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- Docker Docs: Local file logging driver (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- AWS Compute Optimizer: Rightsizing recommendation preferences (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- Kubernetes: Node-pressure Eviction (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
- mke2fs(8), Ubuntu Manpages (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
Deployment Spec
הפכו את התוצאה לקישור שאפשר לשמור או לשתף. הכול נמצא בקישור, ושום דבר לא נשלח אלינו.
מזהה image קצר באותיות קטנות, למשל ubuntu-24.04.