{
  "manifest_version": "1.0.0",
  "template": {
    "id": "35dde977-e482-4642-8f86-b7ea531496d6",
    "slug": "mobius-personal-ai-os",
    "name": "Mobius — Personal AI OS",
    "description": "Your self-hosted AI agent that builds apps, learns, and gets things done.",
    "url": "https://railway.com/deploy/mobius-personal-ai-os",
    "upstream": {
      "image": "ghcr.io/mobius-os/mobius:main"
    }
  },
  "services": [
    {
      "name": "mobius",
      "source": {
        "image": "ghcr.io/mobius-os/mobius:main"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "mobius",
      "description": "Railway public service port for Möbius",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "DOMAIN",
      "service": "mobius",
      "description": "Public domain assigned by Railway",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATA_DIR",
      "service": "mobius",
      "description": "Persistent Möbius application data directory",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "SECRET_KEY",
      "service": "mobius",
      "description": "Persistent secret used for JWT signing and application cryptography",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DATABASE_URL",
      "service": "mobius",
      "description": "Persistent SQLite database",
      "secret": false,
      "strategy": "default",
      "default": "sqlite:////data/db/ultimate.db"
    },
    {
      "key": "FRONTEND_ORIGIN",
      "service": "mobius",
      "description": "Public browser-facing origin",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "mobius",
      "description": "Ensure the Railway-mounted /data volume is writable",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "MOBIUS_AGENT_SUDO",
      "service": "mobius",
      "description": "Allow the built-in AI agent to use elevated privileges inside the container",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "MOBIUS_ACCOUNT_ORIGIN",
      "service": "mobius",
      "description": "Default Möbius account service",
      "secret": false,
      "strategy": "default",
      "default": "https://www.mobius.you"
    },
    {
      "key": "MOBIUS_ACCOUNT_CLIENT_ORIGIN",
      "service": "mobius",
      "description": "Client origin used when linking a Möbius account",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mobius-personal-ai-os"
      }
    },
    "cli": "railway deploy --template mobius-personal-ai-os",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "35dde977-e482-4642-8f86-b7ea531496d6",
            "serializedConfig": {
              "services": {
                "695fe194-a7ef-4a84-a340-3b18377e88af": {
                  "icon": "https://raw.githubusercontent.com/mobius-os/mobius/refs/heads/main/frontend/public/moebius.png",
                  "name": "mobius",
                  "source": {
                    "image": "ghcr.io/mobius-os/mobius:main"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Railway public service port for Möbius",
                      "defaultValue": "8000"
                    },
                    "DOMAIN": {
                      "description": "Public domain assigned by Railway",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATA_DIR": {
                      "description": "Persistent Möbius application data directory",
                      "defaultValue": "/data"
                    },
                    "SECRET_KEY": {
                      "description": "Persistent secret used for JWT signing and application cryptography",
                      "defaultValue": "{{SECRET_KEY}}"
                    },
                    "DATABASE_URL": {
                      "description": "Persistent SQLite database",
                      "defaultValue": "sqlite:////data/db/ultimate.db"
                    },
                    "FRONTEND_ORIGIN": {
                      "description": "Public browser-facing origin",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Ensure the Railway-mounted /data volume is writable",
                      "defaultValue": "0"
                    },
                    "MOBIUS_AGENT_SUDO": {
                      "description": "Allow the built-in AI agent to use elevated privileges inside the container",
                      "defaultValue": "1"
                    },
                    "MOBIUS_ACCOUNT_ORIGIN": {
                      "description": "Default Möbius account service",
                      "defaultValue": "https://www.mobius.you"
                    },
                    "MOBIUS_ACCOUNT_CLIENT_ORIGIN": {
                      "description": "Client origin used when linking a Möbius account",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8000": {
                        "port": 8000
                      }
                    }
                  },
                  "volumeMounts": {
                    "695fe194-a7ef-4a84-a340-3b18377e88af": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T15:21:48.319Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_4d74f05100e14f78bd28",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 81,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "mobius"
  }
}
