{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1bff61a0-d9e9-419c-a62c-8a497c81bce9",
    "slug": "nofx-or-just-updated-ai-trading-platform",
    "name": "NOFX | (Just Updated) AI Trading Platform That Actually Boots",
    "description": "AI trading platform that boots, is pre-claimed, and keeps its keys",
    "url": "https://railway.com/deploy/nofx-or-just-updated-ai-trading-platform",
    "upstream": {
      "image": "ghcr.io/bon5co/nofx-railway:2026.08.13"
    }
  },
  "services": [
    {
      "name": "nofx",
      "source": {
        "image": "ghcr.io/bon5co/nofx-railway:2026.08.13"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "JWT_SECRET",
      "service": "nofx",
      "description": "Provide a value for JWT_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "NOFX_ADMIN_EMAIL",
      "service": "nofx",
      "description": "Provide a value for NOFX_ADMIN_EMAIL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "NOFX_ADMIN_PASSWORD",
      "service": "nofx",
      "description": "Provide a value for NOFX_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nofx-or-just-updated-ai-trading-platform"
      }
    },
    "cli": "railway deploy --template nofx-or-just-updated-ai-trading-platform",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1bff61a0-d9e9-419c-a62c-8a497c81bce9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "f22ba990-d4ee-4ba7-8088-5351ae8d38a5": {
                  "icon": null,
                  "name": "nofx",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/nofx-railway:2026.08.13"
                  },
                  "variables": {
                    "JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "NOFX_ADMIN_EMAIL": {
                      "isOptional": false,
                      "defaultValue": "admin@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "NOFX_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{NOFX_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "f22ba990-d4ee-4ba7-8088-5351ae8d38a5": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "nofx",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T10:14:47.278Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-22T02:32:49.349Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_6e24f0d2d53f47e5bf6c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 62,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "nofx"
  }
}
