-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (33 loc) · 1.88 KB
/
Copy path.env.example
File metadata and controls
38 lines (33 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ---------------------------------------------------------------------------
# Everything in RagIndex runs LOCALLY through Ollama, so there are NO API keys.
# You only need a ".env" if you want to OVERRIDE a default below.
# cp .env.example .env # then uncomment a line and change it
# The real ".env" is git-ignored, so personal tweaks never get pushed.
# ---------------------------------------------------------------------------
# --- Where the local Ollama server lives -----------------------------------
# Default shown. Change it only if Ollama runs on another host/port.
# OLLAMA_HOST=http://localhost:11434
# --- Which local models to use ---------------------------------------------
# Bare tags that `ollama pull` downloads (must also be in ollama-models.txt):
# RAGINDEX_CHAT_TAG=qwen2.5:7b-instruct
# RAGINDEX_EMBED_TAG=qwen3-embedding:0.6b
# Advanced: set the fully-qualified LiteLLM names directly (these win over the
# tags above). Keep the ollama_chat/ and ollama/ prefixes so LiteLLM routes
# the calls to your LOCAL Ollama server:
# RAGINDEX_LLM_MODEL=ollama_chat/qwen2.5:7b-instruct
# RAGINDEX_EMBED_MODEL=ollama/qwen3-embedding:0.6b
# --- Hugging Face token ----------------------------------------------------
# Only needed for private/gated datasets. The wikipedia science dataset is
# public, so this can stay empty.
# HF_TOKEN=
# --- Docker Compose (optional overrides for `docker compose up`) ------------
# Host ports the stack binds to (container ports stay fixed):
# FRONTEND_PORT=5173
# BACKEND_PORT=8000
# OLLAMA_PORT=11434
# Models the one-shot 'ollama-pull' service downloads (kept in sync with the
# tags above so the backend and the puller always agree):
# RAGINDEX_CHAT_TAG=qwen2.5:3b-instruct
# RAGINDEX_EMBED_TAG=qwen3-embedding:0.6b
# GPU: no variable needed — add the override file instead:
# docker compose -f docker-compose.yml -f docker-compose.gpu.yml up -d --build