Run the full repowise stack (API + Web UI) in a single container.
- Docker installed
- A repository already indexed with
repowise init(the.repowise/directory exists)
# Run from the project root
docker build -t repowise -f docker/Dockerfile .
# Run with a mounted .repowise directory
docker run -p 7337:7337 -p 3000:3000 \
-v /path/to/your-repo/.repowise:/data \
-e GEMINI_API_KEY=your-key \
-e REPOWISE_EMBEDDER=gemini \
repowiseOpen http://localhost:3000 for the Web UI, http://localhost:7337 for the API.
# Set the path to your .repowise directory
export REPOWISE_DATA=/path/to/your-repo/.repowise
export GEMINI_API_KEY=your-key
docker compose up| Variable | Default | Description |
|---|---|---|
REPOWISE_DB_URL |
sqlite+aiosqlite:////data/wiki.db |
Database URL |
REPOWISE_EMBEDDER |
mock |
Embedder: gemini, openai, mock |
ANTHROPIC_API_KEY |
— | Anthropic API key (for chat) |
OPENAI_API_KEY |
— | OpenAI API key (for chat) |
GEMINI_API_KEY |
— | Gemini API key (for chat + embeddings) |
PORT_BACKEND |
7337 |
API server port |
PORT_FRONTEND |
3000 |
Web UI port |