update-1.6.2
ci / test (services/knowledge) (push) Successful in 47s
ci / test (services/agent) (push) Successful in 55s
ci / test (platform/neuroforge) (push) Successful in 56s
ci / docker-build (push) Failing after 1m10s
ci / test (services/control) (push) Successful in 1m26s
release-tag / release-image (push) Successful in 6m43s
ci / test (services/knowledge) (push) Successful in 47s
ci / test (services/agent) (push) Successful in 55s
ci / test (platform/neuroforge) (push) Successful in 56s
ci / docker-build (push) Failing after 1m10s
ci / test (services/control) (push) Successful in 1m26s
release-tag / release-image (push) Successful in 6m43s
This commit is contained in:
@@ -1,12 +1,24 @@
|
||||
# Migration v1.6.1 -> v1.6.2
|
||||
|
||||
v1.6.2 is primarily a packaging/deployment consolidation release. It retains the v1.6.1 NeuroForge recovery and persisted-state behavior.
|
||||
No data-volume migration is required. Keep `neuroforge-data`, Agent data and Knowledge directories intact.
|
||||
|
||||
1. Back up the persistent data volumes/directories.
|
||||
2. Set `IMAGE_TAG=1.6.2` in the selected deployment `.env`.
|
||||
3. Keep existing `neuroforge-data`, Agent data and Knowledge files; do not delete volumes.
|
||||
4. Replace deployment examples with the v1.6.2 variants, preserving real secrets locally.
|
||||
5. Recreate project containers so changed environment/configuration is applied.
|
||||
6. Check `/livez`, `/readyz`, Agent `/api/status`, worker status, graph convergence and Prometheus alerts.
|
||||
1. Set `IMAGE_TAG=1.6.2`.
|
||||
2. Copy the new optional Ollama variables into your `.env`:
|
||||
|
||||
The distributed roles now live alongside the standalone Agent/Knowledge/Ollama roles in the same canonical repository.
|
||||
```env
|
||||
OLLAMA_API_KEY=
|
||||
NEUROFORGE_OLLAMA_API_KEY=
|
||||
NEUROFORGE_WORKER_OLLAMA_API_KEY=
|
||||
```
|
||||
|
||||
Leave them empty for an unauthenticated native Ollama endpoint.
|
||||
3. If Ollama is protected by a Bearer-aware proxy, normally set only `OLLAMA_API_KEY`. Use the two NeuroForge overrides only when the Master and model worker need different credentials.
|
||||
4. Pull/recreate services without deleting volumes:
|
||||
|
||||
```bash
|
||||
docker compose --profile research pull
|
||||
docker compose --profile research up -d --force-recreate --remove-orphans
|
||||
```
|
||||
5. For distributed deployments, use the complete `.env` shipped under `deployments/master`, `deployments/cpu-subagent`, and `deployments/gpu-subagent` and preserve the same `NEUROFORGE_WORKER_TOKEN` on Master and subagents.
|
||||
|
||||
The v1.6.1 OOM/recovery fixes are part of v1.6.2 and must not be removed when merging older deployment files.
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
# Ollama Bearer authentication
|
||||
|
||||
v1.6.2 can call Ollama-compatible endpoints protected by an HTTP Bearer token.
|
||||
|
||||
## Shared configuration
|
||||
|
||||
```env
|
||||
OLLAMA_API_KEY=CHANGE_ME
|
||||
```
|
||||
|
||||
Every supported Ollama request then carries:
|
||||
|
||||
```http
|
||||
Authorization: Bearer CHANGE_ME
|
||||
```
|
||||
|
||||
This applies to health/model discovery (`/api/tags`), chat (`/api/chat`) and embeddings (`/api/embed`).
|
||||
|
||||
## NeuroForge overrides
|
||||
|
||||
```env
|
||||
NEUROFORGE_OLLAMA_API_KEY=
|
||||
NEUROFORGE_WORKER_OLLAMA_API_KEY=
|
||||
```
|
||||
|
||||
`NEUROFORGE_OLLAMA_API_KEY` overrides the shared key for the NeuroForge Master/provider. `NEUROFORGE_WORKER_OLLAMA_API_KEY` overrides it for model-capable NeuroForge workers. If the override is empty, workers fall back to `OLLAMA_API_KEY`; the Master also accepts `OLLAMA_API_KEY` as a shared alias when no NeuroForge-specific key is supplied.
|
||||
|
||||
## Agent pools
|
||||
|
||||
The GLPI Agent uses one `OLLAMA_API_KEY` for all URLs in `OLLAMA_URLS`. This is intentional for a pool behind one common authentication boundary. Deploy separate Agent instances or a common gateway if individual nodes require unrelated credentials.
|
||||
|
||||
## Native Ollama
|
||||
|
||||
The environment variable configures the **clients**, not the bundled native Ollama server. Native Ollama does not gain access control from this setting alone. To require authentication, place Ollama behind an authentication-capable reverse proxy/gateway and point `OLLAMA_URL`, `OLLAMA_URLS` or `OLLAMA_BASE_URL` at that endpoint.
|
||||
|
||||
Do not put credentials into Ollama URLs. Keep URLs credential-free and use the Bearer variable.
|
||||
Reference in New Issue
Block a user