- Switch to host network mode for direct access to Ollama on host - Update OLLAMA_URL to use localhost:11434 - Add startup.sh script to trigger reindex before app starts - Update Dockerfile to execute startup script 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
391 B
YAML
17 lines
391 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
raggr:
|
|
image: torrtle/simbarag:latest
|
|
network_mode: host
|
|
environment:
|
|
- PAPERLESS_TOKEN=${PAPERLESS_TOKEN}
|
|
- BASE_URL=${BASE_URL}
|
|
- OLLAMA_URL=${OLLAMA_URL:-http://localhost:11434}
|
|
- CHROMADB_PATH=/app/chromadb
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
volumes:
|
|
- chromadb_data:/app/chromadb
|
|
|
|
volumes:
|
|
chromadb_data: |