docs(maria): record local Ollama install and rclone setup progress
Ollama (+ nomic-embed-text) is now installed locally on LXC 171 for embeddings — previously OLLAMA_URL was an unverified placeholder pointing at nothing. rclone is installed too, but DRIVE_REMOTE still needs a Google service account the user must create in GCP Console; noted the document_store folder ID found via Drive search to save that step later. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -58,6 +58,16 @@ Completeaza manual `~/.maria-bridge/env` (copiat din `ops/env.example` la prima
|
||||
rulare): cel putin `LLM_URL` (backend-ul de chat) si, daca vrei sincronizare
|
||||
automata cu Drive, `DRIVE_REMOTE`.
|
||||
|
||||
`OLLAMA_URL` (implicit `http://127.0.0.1:11434`, folosit pentru embeddings la
|
||||
indexare) presupune un Ollama instalat local pe container — nu exista alt
|
||||
Ollama documentat in infrastructura. Instalare (facuta deja pe LXC 171,
|
||||
2026-08-31):
|
||||
```bash
|
||||
sudo apt-get install -y zstd # dependinta a instalatorului Ollama
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
ollama pull nomic-embed-text # ~274 MB, CPU-only pe acest container
|
||||
```
|
||||
|
||||
Bridge-ul WhatsApp NU porneste automat la instalare — cere scanarea unui cod QR
|
||||
(actiune manuala, o singura data):
|
||||
|
||||
@@ -94,6 +104,9 @@ Drive Desktop). Containerul e headless, deci sincronizarea foloseste
|
||||
Pasi (o singura data):
|
||||
|
||||
1. **Instaleaza rclone** pe container: `sudo apt-get install -y rclone`.
|
||||
✅ Deja instalat pe LXC 171 (2026-08-31), `rclone v1.60.1`. Pasii 2-7 de mai
|
||||
jos raman de facut — cer acces la consola Google Cloud a utilizatorului, nu
|
||||
se pot automatiza din container.
|
||||
2. **Creeaza un cont de serviciu Google** cu acces la Drive API (Google Cloud
|
||||
Console -> IAM -> Service Accounts -> Create -> descarca cheia JSON).
|
||||
3. **Partajeaza folderul** `document_store` din Google Drive cu adresa de email
|
||||
@@ -112,6 +125,8 @@ Pasi (o singura data):
|
||||
```
|
||||
rclone lsf gdrive: --drive-root-folder-id=<FOLDER_ID>
|
||||
```
|
||||
ID-ul curent al folderului `document_store` (cont `mmarius28@gmail.com`,
|
||||
gasit prin cautare Drive): `1C4e75zgH1_7ZK-_oBP5ZZBvUPh3iEo1O`.
|
||||
Sau, mai simplu, foloseste calea prin nume daca folderul e in "My Drive" al
|
||||
contului care a facut share (rclone urmareste shared-with-me cu
|
||||
`--drive-shared-with-me` daca e nevoie).
|
||||
|
||||
Reference in New Issue
Block a user