Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
2.0 KiB
2.0 KiB
OpenViking (Docker)
This folder contains a Docker Compose setup for OpenViking using the official image.
What this setup assumes
- VLM provider:
openai-codex - Embedding model family:
jina-embeddings-v5-text-small-clustering - Embedding server: local OpenAI-compatible endpoint powered by
llama.cppCUDA12 image - Persistent OpenViking data lives in
./data - Persistent embedding model cache lives in
./models(mounted to Hugging Face cache) - HTTP API is exposed on
1933 - Console/UI is exposed on
8020 - Local embedding endpoint is exposed on
127.0.0.1:8081
Files
docker-compose.yml— the container definition.env.example— optional port/bot defaultsov.conf.example— configuration example using local Jina embeddings + Codex VLMovcli.conf.example— CLI/client config example
Setup
- Copy the env template:
cp .env.example .env
- Create the persistent directories and copy the config examples:
mkdir -p data models
cp ov.conf.example data/ov.conf
cp ovcli.conf.example data/ovcli.conf
mkdir -p data/workspace
- Start the containers:
docker compose up -d
- If Codex auth is not yet available, complete the login/import step inside the OpenViking container:
docker compose exec -it openviking openviking-server init
- Verify the server:
docker compose exec -it openviking openviking-server doctor
curl http://localhost:1933/health
Notes
- The embedding service uses the Jina v5 omni small text-matching GGUF model and serves an OpenAI-compatible
/v1API locally. provider: "openai"is used inov.confbecause the embedding endpoint is OpenAI-compatible, even though the underlying model is Jina.provider: "openai-codex"does not requirevlm.api_keyonce Codex OAuth is available throughopenviking-server init.- If you want the bundled VikingBot disabled, set
OPENVIKING_WITH_BOT=0in.env. - The first startup can take a while because the Jina model must be downloaded into
./models.