{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "ihsan-ramadhan-bansos-router--share-free-model-endpoint-with-docker",
 "repo": "ihsan-ramadhan/bansos-router",
 "repo_url": "https://github.com/ihsan-ramadhan/bansos-router",
 "repo_slug": "ihsan-ramadhan-bansos-router",
 "title": "Host the free model router in a Docker container",
 "page_title": "How to host the free model router in a Docker container with Bansos Router",
 "summary": "Run the daemon in a container with a persistent data volume and a built-in healthcheck.",
 "who": "A developer or small team who wants one always-running router instead of a global npm install on each machine.",
 "problem": "Installing and keeping the daemon running on every machine is tedious, and state can be lost when a process restarts.",
 "outcome": "The daemon runs in a container with state kept in a named volume, and harnesses point at the same endpoint.",
 "steps": [
  "Clone the Bansos Router repository and change into its folder. (inferred, check the README)",
  "Build the image with `docker build -t bansos-router .`.",
  "Start the container with `docker run -d --name bansos -p 17070:17070 -v bansos-data:/home/node/.bansos bansos-router`.",
  "Check the container logs with `docker compose logs -f` if you used compose, or read the container output otherwise.",
  "Point your harnesses at `http://127.0.0.1:17070`."
 ],
 "agent_prompt": "Using the bansos-router repo, build the image with `docker build -t bansos-router .` and run it with the volume and port from the README. Expected output: a running container named bansos. Verify by opening `http://127.0.0.1:17070/healthz` and confirming the healthcheck responds.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Inside the container the daemon binds to 0.0.0.0, so publish the port only on a network you trust.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "npm, to install the package globally",
  "A terminal on Linux, macOS, or Windows",
  "A coding harness you already use, such as OpenCode or Claude Code",
  "Docker, only if you choose the container route"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ihsan-ramadhan-bansos-router/share-free-model-endpoint-with-docker/",
 "md": "https://dedupedai.com/use-cases/ihsan-ramadhan-bansos-router/share-free-model-endpoint-with-docker/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/ihsan-ramadhan-bansos-router--share-free-model-endpoint-with-docker.json",
 "api_version": "v1"
}
