{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "wemux-ai-wemux--deploy-own-instance-on-railway",
 "repo": "wemux-ai/wemux",
 "repo_url": "https://github.com/wemux-ai/wemux",
 "repo_slug": "wemux-ai-wemux",
 "title": "Deploy your own Wemux instance on Railway",
 "page_title": "How to deploy your own Wemux instance on Railway with Wemux",
 "summary": "Provision the control plane, Postgres and a bucket on Railway from the repo's infrastructure-as-code file.",
 "who": "A small team without a VPS that wants a hosted copy of Wemux it controls.",
 "problem": "Running the control plane usually means managing a server, database and object storage yourself.",
 "outcome": "A public control plane URL with a passing /api/ready health check.",
 "steps": [
  "Clone the repo and install dependencies: `git clone https://github.com/wemux-ai/wemux.git && cd wemux` then `pnpm install`.",
  "Log in and set up the project with `railway login`, then `railway init` (or `railway link` for an existing project).",
  "Provision services with `railway config apply`, then deploy the current checkout with `railway up`.",
  "Set BETTER_AUTH_SECRET, TOKEN_SECRET, SECRET_ENCRYPTION_KEY, object storage variables and the public base URL variables on the control-plane service, then redeploy.",
  "Verify `https://<your-app>/api/ready`, open /execution, and run Add Executor on a worker machine."
 ],
 "agent_prompt": "In the wemux repo at <repo-path>, deploy the control plane to Railway with the documented commands. Report the public HTTPS origin and confirm that /api/ready returns a healthy response.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README warns that a plain Deploy from GitHub repo misdetects the project and crashes, so use the infrastructure-as-code flow.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 20+",
  "pnpm 10+",
  "Docker (for Postgres)",
  "Git",
  "Your own model keys for OpenCode, Claude Code or Codex on the worker"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "This setup needs several secret keys and object storage credentials; generate them with openssl and store them only in Railway variables."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/wemux-ai-wemux/deploy-own-instance-on-railway/",
 "md": "https://dedupedai.com/use-cases/wemux-ai-wemux/deploy-own-instance-on-railway/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/wemux-ai-wemux--deploy-own-instance-on-railway.json",
 "api_version": "v1"
}
