{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3c23eb1b-382d-423d-9e90-1a8cc65a4189",
    "slug": "prometheus-or-just-updated-metrics-behin",
    "name": "Prometheus | (Just Updated) Metrics Behind A Login, Retention Capped To The Volume",
    "description": "Prometheus behind a login. Retention capped to your volume, targets via env",
    "url": "https://railway.com/deploy/prometheus-or-just-updated-metrics-behin",
    "upstream": {
      "image": "ghcr.io/bon5co/prometheus-railway:3.15.0"
    }
  },
  "services": [
    {
      "name": "prometheus",
      "source": {
        "image": "ghcr.io/bon5co/prometheus-railway:3.15.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/prometheus",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PROMETHEUS_PASSWORD",
      "service": "prometheus",
      "description": "Provide a value for PROMETHEUS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PROMETHEUS_PRIVATE_URL",
      "service": "prometheus",
      "description": "Provide a value for PROMETHEUS_PRIVATE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "prometheus-or-just-updated-metrics-behin"
      }
    },
    "cli": "railway deploy --template prometheus-or-just-updated-metrics-behin",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3c23eb1b-382d-423d-9e90-1a8cc65a4189",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "13f6413c-80c5-438a-b948-b65fa06f3dd5": {
                  "icon": null,
                  "name": "prometheus",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/bon5co/prometheus-railway:3.15.0"
                  },
                  "variables": {
                    "PROMETHEUS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{PROMETHEUS_PASSWORD}}"
                    },
                    "PROMETHEUS_PRIVATE_URL": {
                      "isOptional": false,
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "13f6413c-80c5-438a-b948-b65fa06f3dd5": {
                      "mountPath": "/prometheus"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "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-20T06:41:39.361Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_7b33ce6e2ba94a44886d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 60,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "prometheus"
  }
}
