{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c5bb656d-994a-4afa-9c36-2788382f69ad",
    "slug": "pi-hole",
    "name": "Pi-hole",
    "description": "Pi-hole is a DNS sinkhole that protects your devices from unwanted content",
    "url": "https://railway.com/deploy/pi-hole",
    "upstream": {
      "image": "pihole/pihole:latest"
    }
  },
  "services": [
    {
      "name": "Pi-hole",
      "source": {
        "image": "pihole/pihole:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/etc/pihole",
      "tcp_ports": [
        53
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "TZ",
      "service": "Pi-hole",
      "description": "The timezone you would like to use for your server",
      "secret": false,
      "strategy": "default",
      "default": "Etc/UTC"
    },
    {
      "key": "FTLCONF_webserver_api_password",
      "service": "Pi-hole",
      "description": "You administrator password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pi-hole"
      }
    },
    "cli": "railway deploy --template pi-hole",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c5bb656d-994a-4afa-9c36-2788382f69ad",
            "serializedConfig": {
              "services": {
                "f32f4341-5a3d-4f77-ab82-fe1afe0609f5": {
                  "name": "Pi-hole",
                  "source": {
                    "image": "pihole/pihole:latest"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "The timezone you would like to use for your server",
                      "defaultValue": "Etc/UTC"
                    },
                    "FTLCONF_webserver_api_password": {
                      "isOptional": false,
                      "description": "You administrator password",
                      "defaultValue": "{{FTLCONF_webserver_api_password}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "53": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  },
                  "volumeMounts": {
                    "f32f4341-5a3d-4f77-ab82-fe1afe0609f5": {
                      "mountPath": "/etc/pihole"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T20:47:17.714Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_c6975f912d344e2186cf",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 32,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "Pi-hole"
  }
}
