{
  "manifest_version": "1.0.0",
  "template": {
    "id": "67f3ab56-b641-4a35-88ec-0a1f7e5e1d5f",
    "slug": "qHvw-4",
    "name": "PostHog Proxy",
    "description": "Allows you to send events to PostHog Cloud using your own domain.",
    "url": "https://railway.com/deploy/qHvw-4",
    "upstream": {
      "repo_url": "https://github.com/paulocsanz/posthog-proxy"
    }
  },
  "services": [
    {
      "name": "PostHog Proxy",
      "source": {
        "repo": "https://github.com/paulocsanz/posthog-proxy"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "PostHog Proxy",
      "description": "Port through which Railway will contact this service.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "SERVER_NAME",
      "service": "PostHog Proxy",
      "description": "Public domain of this service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "POSTHOG_HOST",
      "service": "PostHog Proxy",
      "description": "Provide a value for POSTHOG_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "us.i.posthog.com"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "qHvw-4"
      }
    },
    "cli": "railway deploy --template qHvw-4",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "67f3ab56-b641-4a35-88ec-0a1f7e5e1d5f",
            "serializedConfig": {
              "services": {
                "18fdcad6-4f8e-483e-a42f-895d83abf524": {
                  "icon": "https://avatars.githubusercontent.com/u/60330232",
                  "name": "PostHog Proxy",
                  "source": {
                    "repo": "paulocsanz/posthog-proxy",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port through which Railway will contact this service.",
                      "defaultValue": "80"
                    },
                    "SERVER_NAME": {
                      "isOptional": false,
                      "description": "Public domain of this service",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "POSTHOG_HOST": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "us.i.posthog.com"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-21T12:57:44.771Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_b8a0231dd16044b5b54a",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 133,
    "typical_build_seconds": 21,
    "typical_start_seconds": 5,
    "slowest_service": "PostHog Proxy"
  }
}
