{
  "manifest_version": "1.0.0",
  "template": {
    "id": "000c86c6-03b3-4b08-8158-8589bf1934ec",
    "slug": "mobius-v01-personal-ai-os",
    "name": "Möbius v0.1 Personal AI OS",
    "description": "Self-hosted AI agent that builds and runs apps for you, with memory.",
    "url": "https://railway.com/deploy/mobius-v01-personal-ai-os",
    "upstream": {
      "repo_url": "https://github.com/baranberkay96/mobius-railway"
    }
  },
  "services": [
    {
      "name": "Mobius",
      "source": {
        "repo": "https://github.com/baranberkay96/mobius-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Mobius",
      "description": "Port of the Möbius web app and API. Railway's healthcheck and the public domain use it; keep 8000 unless you also change the domain's target port.",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "MOBIUS_AGENT_SUDO",
      "service": "Mobius",
      "description": "1 (upstream default) gives the agent passwordless root inside the container, e.g. to install packages; 0 removes it. Takes effect on the next deploy.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "MOBIUS_OWNER_PASSWORD",
      "service": "Mobius",
      "description": "Owner password (12+ characters), generated at deploy. Changing it here resets the login on the next deploy and signs out every session; a password changed inside Möbius is kept until this changes.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MOBIUS_OWNER_USERNAME",
      "service": "Mobius",
      "description": "Owner login name, generated at deploy and created before the app goes online. Random on purpose (failed logins put a cooldown on a username). Change it to rename the login on the next deploy.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Mobius",
      "description": "Seconds the old container gets to finish replies before a redeploy stops it (upstream's value; its server drains for 10 s).",
      "secret": false,
      "strategy": "default",
      "default": "15"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mobius-v01-personal-ai-os"
      }
    },
    "cli": "railway deploy --template mobius-v01-personal-ai-os",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "000c86c6-03b3-4b08-8158-8589bf1934ec",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "113f634e-8dd7-5fcb-9767-ff3ac8e91d0e": {
                  "icon": "https://cdn.jsdelivr.net/gh/mobius-os/mobius@c1e525f3239b73a0b899d7e7879a7fefce95c43c/frontend/public/moebius.png",
                  "name": "Mobius",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/api/ready",
                    "restartPolicyType": "ALWAYS",
                    "healthcheckTimeout": 600
                  },
                  "source": {
                    "repo": "baranberkay96/mobius-railway",
                    "branch": "main",
                    "rootDirectory": "/services/mobius"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Port of the Möbius web app and API. Railway's healthcheck and the public domain use it; keep 8000 unless you also change the domain's target port.",
                      "defaultValue": "8000"
                    },
                    "DOMAIN": {
                      "isOptional": true,
                      "description": "Optional. Your custom domain as a bare host name (e.g. ai.example.com), once it is attached to this service. Empty = the Railway domain.",
                      "defaultValue": ""
                    },
                    "MOBIUS_AGENT_SUDO": {
                      "isOptional": true,
                      "description": "1 (upstream default) gives the agent passwordless root inside the container, e.g. to install packages; 0 removes it. Takes effect on the next deploy.",
                      "defaultValue": "1"
                    },
                    "MOBIUS_OWNER_PASSWORD": {
                      "isOptional": true,
                      "description": "Owner password (12+ characters), generated at deploy. Changing it here resets the login on the next deploy and signs out every session; a password changed inside Möbius is kept until this changes.",
                      "defaultValue": "{{MOBIUS_OWNER_PASSWORD}}"
                    },
                    "MOBIUS_OWNER_USERNAME": {
                      "isOptional": true,
                      "description": "Owner login name, generated at deploy and created before the app goes online. Random on purpose (failed logins put a cooldown on a username). Change it to rename the login on the next deploy.",
                      "defaultValue": "{{MOBIUS_OWNER_USERNAME}}"
                    },
                    "MOBIUS_SERVICE_GATEWAY_ORIGIN": {
                      "isOptional": true,
                      "description": "Optional. https:// origin of a second custom domain on this service, used only for full web services you opt in (local-services.json). Empty = off.",
                      "defaultValue": ""
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Seconds the old container gets to finish replies before a redeploy stops it (upstream's value; its server drains for 10 s).",
                      "defaultValue": "15"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "2833b88f-f99f-5ea0-9455-9cca7442edec": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Mobius",
      "method": "GET",
      "path": "/api/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-10T16:15:17.618Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-20T07:14:13.201Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_8b8ce5cd038145119308",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 222,
    "typical_build_seconds": 121,
    "typical_start_seconds": 62,
    "slowest_service": "Mobius"
  }
}
