{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a39e0049-e7eb-4a38-a304-0d622c614a57",
    "slug": "victoriametrics-or-just-updated-promethe",
    "name": "VictoriaMetrics | (Just Updated) Prometheus Alternative, Login From Boot, Scrape From Env",
    "description": "VictoriaMetrics behind a login. Writes stop before the disk fills",
    "url": "https://railway.com/deploy/victoriametrics-or-just-updated-promethe",
    "upstream": {
      "image": "ghcr.io/bon5co/victoriametrics-railway:1.153.0"
    }
  },
  "services": [
    {
      "name": "victoriametrics",
      "source": {
        "image": "ghcr.io/bon5co/victoriametrics-railway:1.153.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/victoria-metrics-data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "VM_PASSWORD",
      "service": "victoriametrics",
      "description": "Provide a value for VM_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "VM_PRIVATE_URL",
      "service": "victoriametrics",
      "description": "Provide a value for VM_PRIVATE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "victoriametrics-or-just-updated-promethe"
      }
    },
    "cli": "railway deploy --template victoriametrics-or-just-updated-promethe",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a39e0049-e7eb-4a38-a304-0d622c614a57",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "b30392ac-f5f4-446d-90f3-73d51d6e7cfb": {
                  "icon": null,
                  "name": "victoriametrics",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/victoriametrics-railway:1.153.0"
                  },
                  "variables": {
                    "VM_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{VM_PASSWORD}}"
                    },
                    "VM_PRIVATE_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "b30392ac-f5f4-446d-90f3-73d51d6e7cfb": {
                      "mountPath": "/victoria-metrics-data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "victoriametrics",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-30T04:14:55.026Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-18T16:13:24.908Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a1cfed6e1f6e488897b2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 41,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "victoriametrics"
  }
}
