{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e204c9cf-4187-40ce-a06c-b7396c382def",
    "slug": "adguard-home",
    "name": "AdGuard Home",
    "description": "AdGuard Home: network-wide ad and tracker blocking DNS on Railway.",
    "url": "https://railway.com/deploy/adguard-home",
    "upstream": {
      "image": "wotonews/adguard-home:v0.107.79-1"
    }
  },
  "services": [
    {
      "name": "adguard-home",
      "source": {
        "image": "wotonews/adguard-home:v0.107.79-1"
      },
      "needs_volume": true,
      "volume_mount_path": "/opt/adguardhome",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "AGH_ADMIN_PASSWORD",
      "service": "adguard-home",
      "description": "Admin password for the web UI. Only applied on first boot; password changes made in the UI persist in the config volume. Auto-generated.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "adguard-home"
      }
    },
    "cli": "railway deploy --template adguard-home",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e204c9cf-4187-40ce-a06c-b7396c382def",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "26074573-5827-4105-af44-0bd990d33ed0": {
                  "icon": "https://cdn.adguardcdn.com/website/adguard.com/products/screenshots/linux/agnar-linux.svg?nc=1",
                  "name": "adguard-home",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "wotonews/adguard-home:v0.107.79-1"
                  },
                  "variables": {
                    "AGH_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "description": "Admin password for the web UI. Only applied on first boot; password changes made in the UI persist in the config volume. Auto-generated.",
                      "defaultValue": "{{AGH_ADMIN_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "26074573-5827-4105-af44-0bd990d33ed0": {
                      "mountPath": "/opt/adguardhome"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T16:21:54.172Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_0d5a16d364a0458fa510",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 42,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "adguard-home"
  }
}
