Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
be5bf2169e |
|
|
@ -1,10 +1,9 @@
|
|||
# P2P Wiki AI Configuration
|
||||
|
||||
# Content paths (for split repo setup)
|
||||
# Set HOST_XMLDUMP_DIR to point to the content repo's xmldump directory
|
||||
# HOST_XMLDUMP_DIR=/opt/content/p2pfoundation-wiki/xmldump
|
||||
# CONTENT_DIR can also be set inside the container to resolve articles_dir and xmldump_dir
|
||||
# CONTENT_DIR=/app/content
|
||||
# Content repo path (host path to p2pfoundation-wiki checkout)
|
||||
# Default: ../p2pfoundation-wiki (sibling directory)
|
||||
# On Netcup: /opt/content/p2pfoundation-wiki
|
||||
# CONTENT_REPO_PATH=../p2pfoundation-wiki
|
||||
|
||||
# Ollama (Local LLM)
|
||||
OLLAMA_BASE_URL=http://localhost:11434
|
||||
|
|
|
|||
|
|
@ -17,9 +17,11 @@ xmldump-2014.tar.gz
|
|||
articles/
|
||||
articles.tar.gz
|
||||
|
||||
# Content moved to p2pfoundation-wiki repo
|
||||
# Content lives in p2pfoundation-wiki repo (mounted via CONTENT_REPO_PATH)
|
||||
blog_static/
|
||||
blog_sample/
|
||||
wikifr_static/
|
||||
pagenames.txt
|
||||
|
||||
# Environment
|
||||
.env
|
||||
|
|
|
|||
|
|
@ -11,9 +11,11 @@ services:
|
|||
volumes:
|
||||
# Persist vector store and review queue
|
||||
- ./data:/app/data
|
||||
# XML dumps for parsing (set HOST_XMLDUMP_DIR to content repo path)
|
||||
- ${HOST_XMLDUMP_DIR:-./xmldump}:/app/xmldump:ro
|
||||
# Content from canonical p2pfoundation-wiki repo (wiki articles + xmldump)
|
||||
- ${CONTENT_REPO_PATH:-../p2pfoundation-wiki}:/app/content:ro
|
||||
environment:
|
||||
# Content directory (points to mounted p2pfoundation-wiki repo)
|
||||
- CONTENT_DIR=/app/content
|
||||
# Ollama connection (adjust host for your setup)
|
||||
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://host.docker.internal:11434}
|
||||
- OLLAMA_MODEL=${OLLAMA_MODEL:-llama3.2}
|
||||
|
|
|
|||
23704
pagenames.txt
23704
pagenames.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue