{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3429e687-031a-494d-97bf-61e98700a7d7",
    "slug": "AEaP8G",
    "name": "nats-server",
    "description": "High performance nats server",
    "url": "https://railway.com/deploy/AEaP8G",
    "upstream": {
      "repo_url": "https://github.com/bael-code/nats"
    }
  },
  "services": [
    {
      "name": "nats",
      "source": {
        "repo": "https://github.com/bael-code/nats"
      },
      "needs_volume": true,
      "volume_mount_path": "/nats",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "STORE_DIR",
      "service": "nats",
      "description": "The mount path of the attached volume.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SERVER_NAME",
      "service": "nats",
      "description": "The service name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CLUSTER_ROUTES_SEED",
      "service": "nats",
      "description": "Put the private host",
      "secret": false,
      "strategy": "default",
      "default": "nats://localhost:6222"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "AEaP8G"
      }
    },
    "cli": "railway deploy --template AEaP8G",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3429e687-031a-494d-97bf-61e98700a7d7",
            "serializedConfig": {
              "services": {
                "f5735469-8332-4080-9f23-1bdf5a436d1e": {
                  "icon": "https://seeklogo.com/images/N/nats-logo-0633720D7A-seeklogo.com.png",
                  "name": "nats",
                  "source": {
                    "repo": "bael-code/nats",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "STORE_DIR": {
                      "description": "The mount path of the attached volume.",
                      "defaultValue": "${{RAILWAY_VOLUME_MOUNT_PATH}}"
                    },
                    "SERVER_NAME": {
                      "description": "The service name.",
                      "defaultValue": "${{RAILWAY_SERVICE_NAME}}"
                    },
                    "CLUSTER_ROUTES_SEED": {
                      "isOptional": true,
                      "description": "Put the private host",
                      "defaultValue": "nats://localhost:6222"
                    }
                  },
                  "volumeMounts": {
                    "f5735469-8332-4080-9f23-1bdf5a436d1e": {
                      "mountPath": "/nats"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T04:14:41.730Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-21T11:55:50.822Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_bd2c060fe56540789503",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
