{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "omnijev-onejev--run-onejev-docker-api-and-playground",
 "repo": "OmniJev/OneJev",
 "repo_url": "https://github.com/OmniJev/OneJev",
 "repo_slug": "omnijev-onejev",
 "title": "Run the One Jev API and playground in Docker",
 "page_title": "How to run the One Jev API and playground in Docker with One Jev",
 "summary": "Start a Compose stack that detects your hardware and serves the API and playground on port 8000.",
 "who": "A team member who wants a shared local One Jev endpoint without setting up Python environments on each machine.",
 "problem": "Setting up GPU drivers, Python packages and model backends by hand on several machines takes time and drifts over time.",
 "outcome": "One command starts a backend that serves the same API and playground at http://localhost:8000.",
 "steps": [
  "Run `cp docker/.env.example docker/.env`, then set HF_TOKEN in docker/.env if you use a gated or private repo",
  "Run `./docker/start.sh` (on Windows run `.\\docker\\start.ps1`)",
  "Run `./docker/start.sh logs` to follow the logs until the server is ready",
  "Open http://localhost:8000 for the playground, or send requests to the API, then run `./docker/start.sh down` to stop it"
 ],
 "agent_prompt": "Using the OneJev repo at https://github.com/OmniJev/OneJev, run `cp docker/.env.example docker/.env` and `./docker/start.sh`, then confirm the service answers at http://localhost:8000. Report which backend was selected and the status of the running containers. Verify that the playground loads at http://localhost:8000 before reporting success.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "On Windows the README lists only the torch (NVIDIA) and cpu backends, so other profiles are not available there.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python with pip",
  "An NVIDIA GPU for the PyTorch backend, or llama.cpp installed for the GGUF backend",
  "Docker, only if you use the Docker option",
  "A Hugging Face token only for gated or private repos (set HF_TOKEN in docker/.env for Docker)"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/omnijev-onejev/run-onejev-docker-api-and-playground/",
 "md": "https://dedupedai.com/use-cases/omnijev-onejev/run-onejev-docker-api-and-playground/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/omnijev-onejev--run-onejev-docker-api-and-playground.json",
 "api_version": "v1"
}
