examples/README.md
This folder contains different docker-compose.yml configurations for various use cases.
docker-compose-full-local.yml - 100% Local AI (No Cloud APIs) 🌟Use this if: You want complete privacy with zero external API dependencies
Features:
Setup:
docker-compose.ymldocker compose up -dRequirements:
Documentation:
docker-compose-speaches.yml - Local Speech ProcessingUse this if: You want free TTS/STT but use cloud LLMs
Features:
Setup:
docker-compose.ymldocker compose up -dDocumentation:
docker-compose-ollama.yml - Free Local AI with OllamaUse this if: You want to run AI models locally without API costs
Features:
Setup:
docker-compose.ymldocker compose up -ddocker exec open_notebook-ollama-1 ollama pull mistralhttp://ollama:11434)Recommended models:
mistral, llama3.1, qwen2.5nomic-embed-text, mxbai-embed-largedocker-compose-single.yml - Single Container (Deprecated)Use this if: You need all services in one container (not recommended)
⚠️ Deprecated: We recommend using the standard multi-container setup (docker-compose.yml in root) for better reliability and easier troubleshooting.
Features:
docker-compose-dev.yml - Development SetupUse this if: You're contributing to Open Notebook or developing custom features
Features:
Prerequisites:
Setup: See Development Guide
cp examples/docker-compose-ollama.yml docker-compose.yml
OPEN_NOTEBOOK_ENCRYPTION_KEY valuedocker compose up -d
You can combine features from multiple examples. Common customizations:
Add this to the main docker-compose.yml:
ollama:
image: ollama/ollama:latest
ports:
- "11434:11434"
volumes:
- ollama_models:/root/.ollama
restart: always
volumes:
ollama_models:
Add to open_notebook service environment:
- BASIC_AUTH_USERNAME=admin
- BASIC_AUTH_PASSWORD=your-secure-password