Compare commits

..

No commits in common. "dev" and "main" have entirely different histories.
dev ... main

4 changed files with 23712 additions and 11 deletions

View File

@ -1,9 +1,10 @@
# P2P Wiki AI Configuration
# 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
# 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
# Ollama (Local LLM)
OLLAMA_BASE_URL=http://localhost:11434

4
.gitignore vendored
View File

@ -17,11 +17,9 @@ xmldump-2014.tar.gz
articles/
articles.tar.gz
# Content lives in p2pfoundation-wiki repo (mounted via CONTENT_REPO_PATH)
# Content moved to p2pfoundation-wiki repo
blog_static/
blog_sample/
wikifr_static/
pagenames.txt
# Environment
.env

View File

@ -11,11 +11,9 @@ services:
volumes:
# Persist vector store and review queue
- ./data:/app/data
# Content from canonical p2pfoundation-wiki repo (wiki articles + xmldump)
- ${CONTENT_REPO_PATH:-../p2pfoundation-wiki}:/app/content:ro
# XML dumps for parsing (set HOST_XMLDUMP_DIR to content repo path)
- ${HOST_XMLDUMP_DIR:-./xmldump}:/app/xmldump: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 Normal file

File diff suppressed because it is too large Load Diff