{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c821aa19-6196-4b57-8312-2f27b6efa77e",
    "slug": "owlbrain",
    "name": "OwlBrain",
    "description": "OwlBrain Railway Deployment Template",
    "url": "https://railway.com/deploy/owlbrain",
    "upstream": {
      "repo_url": "https://github.com/nasserDev/OwlBrain"
    }
  },
  "services": [
    {
      "name": "OwlBrain",
      "source": {
        "repo": "https://github.com/nasserDev/OwlBrain"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "OwlBrain",
      "description": "Your Node.js server port (Default: 5000)",
      "secret": false,
      "strategy": "default",
      "default": "5000"
    },
    {
      "key": "NODE_ENV",
      "service": "OwlBrain",
      "description": "Node environment (values: dev / production)",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "DEMO_MODE",
      "service": "OwlBrain",
      "description": "Enable or Disable demo mode (value: true / false)",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "DEMO_ADMIN_PASSWORD",
      "service": "OwlBrain",
      "description": "The password for your admin control room in demo mode",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "owlbrain"
      }
    },
    "cli": "railway deploy --template owlbrain",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c821aa19-6196-4b57-8312-2f27b6efa77e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "1956d5da-1536-47c5-8dd1-3935186c28b7": {
                  "icon": "https://owlbrain.ai/favicon.svg",
                  "name": "OwlBrain",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nasserDev/OwlBrain",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Your Node.js server port (Default: 5000)",
                      "defaultValue": "5000"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Node environment (values: dev / production)",
                      "defaultValue": "production"
                    },
                    "DEMO_MODE": {
                      "isOptional": false,
                      "description": "Enable or Disable demo mode (value: true / false)",
                      "defaultValue": "false"
                    },
                    "GEMINI_API_KEY": {
                      "isOptional": true,
                      "description": "Your Gemini API Key",
                      "defaultValue": ""
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Your OpenAI API Key",
                      "defaultValue": ""
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Your Claude API Key",
                      "defaultValue": ""
                    },
                    "DEMO_IP_HASH_SALT": {
                      "isOptional": true,
                      "description": "Hash Salt Key to encrypt the IPs stored in the DB for demo mode IP limitation feature",
                      "defaultValue": ""
                    },
                    "DEMO_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "The password for your admin control room in demo mode",
                      "defaultValue": "{{DEMO_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "1956d5da-1536-47c5-8dd1-3935186c28b7": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T09:11:47.176Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f6d2a7d57d7641948c56",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 215,
    "typical_build_seconds": 131,
    "typical_start_seconds": 10,
    "slowest_service": "OwlBrain"
  }
}
