Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions docs/1-INSTALLATION/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@ Change `environment` section in `docker-compose.yml`:
# For Groq (fast, free tier available)
- GROQ_API_KEY=...

# For local Ollama (free, offline)
- OLLAMA_BASE_URL=http://ollama:11434
# For local Ollama docker container (free, offline) --> Virtual machine
- OLLAMA_API_BASE=http://ollama:11434
# For localhost Ollama (free, offline) --> Real machine
# - OLLAMA_API_BASE=http://host.docker.internal:11434
```

### Adding Ollama (Free Local Models)
### Adding Ollama container (Free Local Models)

Add to `docker-compose.yml`:

Expand All @@ -167,7 +169,7 @@ volumes:
Then update API service:
```yaml
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- OLLAMA_API_BASE=http://ollama:11434
```

Restart and pull a model:
Expand Down