{
  "manifest_version": "1.0.0",
  "template": {
    "id": "914a1bb2-0480-4133-9c66-d82bfe876337",
    "slug": "nofx-2",
    "name": "NOFX",
    "description": "Self-hosted NOFX trading terminal with volume, /health, generated JWT.",
    "url": "https://railway.com/deploy/nofx-2",
    "upstream": {
      "repo_url": "https://github.com/leoisadev1/railway-template-nofx"
    }
  },
  "services": [
    {
      "name": "nofx",
      "source": {
        "repo": "https://github.com/leoisadev1/railway-template-nofx"
      },
      "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": "DATA_ENCRYPTION_KEY",
      "service": "nofx",
      "description": "Provide a value for DATA_ENCRYPTION_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "nofx-2"
      }
    },
    "cli": "railway deploy --template nofx-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "914a1bb2-0480-4133-9c66-d82bfe876337",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c90d6daf-862f-4c04-9b53-5a44b8474109": {
                  "icon": "https://raw.githubusercontent.com/NoFxAiOS/nofx/638d4042118995fbf1a38d3822b1139aa3c6b467/web/public/icons/nofx.svg",
                  "name": "nofx",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 3
                  },
                  "source": {
                    "repo": "https://github.com/leoisadev1/railway-template-nofx",
                    "rootDirectory": null
                  },
                  "variables": {
                    "JWT_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{JWT_SECRET}}"
                    },
                    "DATA_ENCRYPTION_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{DATA_ENCRYPTION_KEY}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "c90d6daf-862f-4c04-9b53-5a44b8474109": {
                      "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-07T23:54:17.958Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-07T23:55:58.468Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_467259b4e12443b5b6a8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 37,
    "typical_build_seconds": 11,
    "typical_start_seconds": 10,
    "slowest_service": "nofx"
  }
}
