{
  "manifest_version": "1.0.0",
  "template": {
    "id": "229fea5c-0fef-44db-a318-270e8f3e499d",
    "slug": "her574-grafana1313-src",
    "name": "Grafana",
    "description": "Grafana 13.1.3 observability dashboards, logs, and alerts.",
    "url": "https://railway.com/deploy/her574-grafana1313-src",
    "upstream": {
      "image": "grafana/grafana@sha256:ab5cb380e3ff3172d6c8bd2e7cfd31cce977d2881b260e1f5bc089bf0b759b43"
    }
  },
  "services": [
    {
      "name": "grafana",
      "source": {
        "image": "grafana/grafana@sha256:ab5cb380e3ff3172d6c8bd2e7cfd31cce977d2881b260e1f5bc089bf0b759b43"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/grafana",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "grafana",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "grafana",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "GF_SECURITY_ADMIN_USER",
      "service": "grafana",
      "description": "Provide a value for GF_SECURITY_ADMIN_USER.",
      "secret": false,
      "strategy": "default",
      "default": "admin"
    },
    {
      "key": "GF_USERS_ALLOW_SIGN_UP",
      "service": "grafana",
      "description": "Provide a value for GF_USERS_ALLOW_SIGN_UP.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "GF_SECURITY_ADMIN_PASSWORD",
      "service": "grafana",
      "description": "Provide a value for GF_SECURITY_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "her574-grafana1313-src"
      }
    },
    "cli": "railway deploy --template her574-grafana1313-src",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "229fea5c-0fef-44db-a318-270e8f3e499d",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "19f0d428-3604-4407-8db5-fee1d6b35499": {
                  "icon": null,
                  "name": "grafana",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "grafana/grafana@sha256:ab5cb380e3ff3172d6c8bd2e7cfd31cce977d2881b260e1f5bc089bf0b759b43"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "3000"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "0"
                    },
                    "GF_SECURITY_ADMIN_USER": {
                      "isOptional": false,
                      "defaultValue": "admin"
                    },
                    "GF_USERS_ALLOW_SIGN_UP": {
                      "isOptional": false,
                      "defaultValue": "false"
                    },
                    "GF_SECURITY_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{GF_SECURITY_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "19f0d428-3604-4407-8db5-fee1d6b35499": {
                      "mountPath": "/var/lib/grafana"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "grafana",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-19T04:14:37.968Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-17T10:14:13.288Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_ee022fdb2b144b9d8c6b",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 72,
    "typical_build_seconds": 0,
    "typical_start_seconds": 20,
    "slowest_service": "grafana"
  }
}
