adguard-home
by rm3l
Unofficial Chart for Adguard Home, the network-wide ad and tracking blocker. This Chart also provides automated backups of Adguard Home to services like AWS S3. https://github.com/AdguardTeam/AdGuardHome
About this chart
adguard-home
Unofficial Chart for Adguard Home, the network-wide ad and tracking blocker. This Chart also provides automated backups of Adguard Home to services like AWS S3. https://github.com/AdguardTeam/AdGuardHome
Installation
Using the OCI registry
$ helm install my-adguard-home oci://ghcr.io/rm3l/helm-charts/adguard-home --version 0.25.0
Using the Helm repository
$ helm repo add rm3l https://helm-charts.rm3l.org
$ helm install my-adguard-home rm3l/adguard-home --version 0.25.0
See https://artifacthub.io/packages/helm/rm3l/adguard-home?modal=install
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| autoscaling.enabled | bool | false | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| backup.activeDeadlineSeconds | int | 1800 | |
| backup.aws.accessKeyId | string | "my-aws-access-key-id" | AWS Access Key. Must have the permissions to write to the target bucket. |
| backup.aws.enabled | bool | true | For now, only AWS is supported. Setting this to false (while backup.enabled is true) will cause a deployment error. |
| backup.aws.s3 | object | {"destination":"s3://path/to/my/adguard-home-backup-bucket"} | Target destination bucket (absolute) in AWS S3, where the backup resources should be written |
| backup.aws.secretKey | string | "my-aws-secret-key" | AWS Secret Key. Must have the permissions to write to the target bucket. |
| backup.backoffLimit | int | 1 | |
| backup.concurrencyPolicy | string | "Forbid" | |
| backup.enabled | bool | false | since the volume will be accessible only to the sole Adguard Home pod. |
| backup.imagePullPolicy | string | "IfNotPresent" | |
| backup.parallelism | int | 1 | |
| backup.resources | object | {} | |
| backup.restartPolicy | string | "OnFailure" | |
| backup.schedule | string | "@daily" | How frequently the Backup job should run. Cron Syntax, as supported by Kubernetes CronJobs |
| backup.ttlSecondsAfterFinished | int | 300 | |
| bootstrapConfig.auth_attempts | int | 5 | |
| bootstrapConfig.beta_bind_port | int | 0 | |
| bootstrapConfig.bind_host | string | "0.0.0.0" | AdGuard Home config. See this page |
| bootstrapConfig.bind_port | int | 80 | |
| bootstrapConfig.block_auth_min | int | 15 | |
| bootstrapConfig.clients | list | [] | |
| bootstrapConfig.debug_pprof | bool | false | |
| bootstrapConfig.dhcp.dhcpv4.gateway_ip | string | "" | |
| bootstrapConfig.dhcp.dhcpv4.icmp_timeout_msec | int | 1000 | |
| bootstrapConfig.dhcp.dhcpv4.lease_duration | int | 86400 | |
| bootstrapConfig.dhcp.dhcpv4.options | list | [] | |
| bootstrapConfig.dhcp.dhcpv4.range_end | string | "" | |
| bootstrapConfig.dhcp.dhcpv4.range_start | string | "" | |
| bootstrapConfig.dhcp.dhcpv4.subnet_mask | string | "" | |
| bootstrapConfig.dhcp.dhcpv6.lease_duration | int | 86400 | |
| bootstrapConfig.dhcp.dhcpv6.ra_allow_slaac | bool | false | |
| bootstrapConfig.dhcp.dhcpv6.ra_slaac_only | bool | false | |
| bootstrapConfig.dhcp.dhcpv6.range_start | string | "" | |
| bootstrapConfig.dhcp.enabled | bool | false | |
| bootstrapConfig.dhcp.interface_name | string | "" | |
| bootstrapConfig.dns.aaaa_disabled | bool | false | |
| bootstrapConfig.dns.all_servers | bool | true | |
| bootstrapConfig.dns.allowed_clients | list | [] | |
| bootstrapConfig.dns.anonymize_client_ip | bool | false | |
| bootstrapConfig.dns.bind_hosts[0] | string | "0.0.0.0" | |
| bootstrapConfig.dns.blocked_hosts[0] | string | "version.bind" | |
| bootstrapConfig.dns.blocked_hosts[1] | string | "id.server" | |
| bootstrapConfig.dns.blocked_hosts[2] | string | "hostname.bind" | |
| bootstrapConfig.dns.blocked_response_ttl | int | 10 | |
| bootstrapConfig.dns.blocked_services | list | [] | |
| bootstrapConfig.dns.blocking_ipv4 | string | "" | |
| bootstrapConfig.dns.blocking_ipv6 | string | "" | |
| bootstrapConfig.dns.blocking_mode | string | "default" | |
| bootstrapConfig.dns.bogus_nxdomain | list | [] | |
| bootstrapConfig.dns.bootstrap_dns[0] | string | "1.1.1.1" | |
| bootstrapConfig.dns.bootstrap_dns[1] | string | "1.0.0.1" | |
| bootstrapConfig.dns.bootstrap_dns[2] | string | "9.9.9.10" | |
| bootstrapConfig.dns.bootstrap_dns[3] | string | "149.112.112.10" | |
| bootstrapConfig.dns.bootstrap_dns[4] | string | "2620:fe::10" | |
| bootstrapConfig.dns.bootstrap_dns[5] | string | "2620:fe::fe:10" | |
| bootstrapConfig.dns.cache_optimistic | bool | true | |
| bootstrapConfig.dns.cache_size | int | 4194304 | |
| bootstrapConfig.dns.cache_time | int | 30 | |
| bootstrapConfig.dns.cache_ttl_max | int | 0 | |
| bootstrapConfig.dns.cache_ttl_min | int | 0 | |
| bootstrapConfig.dns.disallowed_clients | list | [] | |
| bootstrapConfig.dns.edns_client_subnet | bool | false | |
| bootstrapConfig.dns.enable_dnssec | bool | false | |
| bootstrapConfig.dns.fastest_addr | bool | false | |
| bootstrapConfig.dns.fastest_timeout | string | "1s" | |
| bootstrapConfig.dns.filtering_enabled | bool | true | |
| bootstrapConfig.dns.filters_update_interval | int | 24 | |
| bootstrapConfig.dns.ipset | list | [] | |
| bootstrapConfig.dns.local_domain_name | string | "lan" | |
| bootstrapConfig.dns.local_ptr_upstreams | list | [] | |
| bootstrapConfig.dns.max_goroutines | int | 300 | |
| bootstrapConfig.dns.parental_block_host | string | "family-block.dns.adguard.com" | |
| bootstrapConfig.dns.parental_cache_size | int | 1048576 | |
| bootstrapConfig.dns.parental_enabled | bool | false | |
| bootstrapConfig.dns.port | int | 53 | |
| bootstrapConfig.dns.protection_enabled | bool | true | |
| bootstrapConfig.dns.querylog_enabled | bool | true | |
| bootstrapConfig.dns.querylog_file_enabled | bool | true | |
| bootstrapConfig.dns.querylog_interval | string | "168h" | |
| bootstrapConfig.dns.querylog_size_memory | int | 1000 | |
| bootstrapConfig.dns.ratelimit | int | 20 | |
| bootstrapConfig.dns.ratelimit_whitelist | list | [] | |
| bootstrapConfig.dns.refuse_any | bool | true | |
| bootstrapConfig.dns.resolve_clients | bool | true | |
| bootstrapConfig.dns.rewrites | list | [] | |
| bootstrapConfig.dns.safebrowsing_block_host | string | "standard-block.dns.adguard.com" | |
| bootstrapConfig.dns.safebrowsing_cache_size | int | 1048576 | |
| bootstrapConfig.dns.safebrowsing_enabled | bool | false | |
| bootstrapConfig.dns.safesearch_cache_size | int | 1048576 | |
| bootstrapConfig.dns.safesearch_enabled | bool | false | |
| bootstrapConfig.dns.statistics_interval | int | 90 | |
| bootstrapConfig.dns.trusted_proxies[0] | string | "127.0.0.0/8" | |
| bootstrapConfig.dns.trusted_proxies[1] | string | "::1/128" | |
| bootstrapConfig.dns.upstream_dns[0] | string | "https://dns.cloudflare.com/dns-query" | |
| bootstrapConfig.dns.upstream_dns[1] | string | "tls://1dot1dot1dot1.cloudflare-dns.com" | |
| bootstrapConfig.dns.upstream_dns[2] | string | "https://dns10.quad9.net/dns-query" | |
| bootstrapConfig.dns.upstream_dns_file | string | "" | |
| bootstrapConfig.dns.upstream_timeout | string | "10s" | |
| bootstrapConfig.dns.use_private_ptr_resolvers | bool | true | |
| bootstrapConfig.filters[0].enabled | bool | true | |
| bootstrapConfig.filters[0].id | int | 1 | |
| bootstrapConfig.filters[0].name | string | "AdGuard DNS filter" | |
| bootstrapConfig.filters[0].url | string | "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt" | |
| bootstrapConfig.filters[1].enabled | bool | false | |
| bootstrapConfig.filters[1].id | int | 2 | |
| bootstrapConfig.filters[1].name | string | "AdAway Default Blocklist" | |
| bootstrapConfig.filters[1].url | string | "https://adaway.org/hosts.txt" | |
| bootstrapConfig.filters[2].enabled | bool | false | |
| bootstrapConfig.filters[2].id | int | 1641249001 | |
| bootstrapConfig.filters[2].name | string | "WindowsSpyBlocker - Hosts spy rules" | |
| bootstrapConfig.filters[2].url | string | "https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt" | |
| bootstrapConfig.filters[3].enabled | bool | false | |
| bootstrapConfig.filters[3].id | int | 1641249002 | |
| bootstrapConfig.filters[3].name | string | "OISD Blocklist Basic" | |
| bootstrapConfig.filters[3].url | string | "https://abp.oisd.nl/basic/" | |
| bootstrapConfig.filters[4].enabled | bool | false | |
| bootstrapConfig.filters[4].id | int | 1641249003 | |
| bootstrapConfig.filters[4].name | string | "Perflyst and Dandelion Sprout's Smart-TV Blocklist" | |
| bootstrapConfig.filters[4].url | string | "https://raw.githubusercontent.com/Perflyst/PiHoleBlocklist/master/SmartTV-AGH.txt" | |
| bootstrapConfig.filters[5].enabled | bool | false | |
| bootstrapConfig.filters[5].id | int | 1641249004 | |
| bootstrapConfig.filters[5].name | string | "Game Console Adblock List" | |
| bootstrapConfig.filters[5].url | string | "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/GameConsoleAdblockList.txt" | |
| bootstrapConfig.http_proxy | string | "" | |
| bootstrapConfig.language | string | "en" | |
| bootstrapConfig.log_compress | bool | false | |
| bootstrapConfig.log_file | string | "" | |
| bootstrapConfig.log_localtime | bool | false | |
| bootstrapConfig.log_max_age | int | 3 | |
| bootstrapConfig.log_max_backups | int | 0 | |
| bootstrapConfig.log_max_size | int | 100 | |
| bootstrapConfig.os.group | string | "" | |
| bootstrapConfig.os.rlimit_nofile | int | 0 | |
| bootstrapConfig.os.user | string | "" | |
| bootstrapConfig.schema_version | int | 12 | |
| bootstrapConfig.tls.allow_unencrypted_doh | bool | true | Useful if Adguard Home is behind a reverse proxy already terminating TLS connections. |
| bootstrapConfig.tls.certificate_chain | string | "-----BEGIN CERTIFICATE-----\nMIIFVDCCAzygAwIBAgIUM+ltXj0iog81U2Dqsavv6DCPE3YwDQYJKoZIhvcNAQEL\nBQAwHTEbMBkGA1UEAwwSbXkuZG5zLmV4YW1wbGUuY29tMB4XDTIyMDEwNjIzMjkx\nOVoXDTMyMDEwNDIzMjkxOVowHTEbMBkGA1UEAwwSbXkuZG5zLmV4YW1wbGUuY29t\nMIICIjANBgkqhkiG9w0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kZNfsuCHTwqIBpQYvzfvKsbM\nlakwEUFN/jf+affXOwvXdOo5EuIZBQeCyNTN6witBWAnlUANZUT68/H8WKKX5LU1\nJoKPi+hETTOpV48KtVWX9FGRf2M6fGPYVpJhZCuBdtyoHPdiMZZgscqQbECYiwa4\npSEMjPTktRT434dn+hYv8f70TtdGHJblGpRDL6CCxUa0mIH0S3Gm2Oi9ndoAkxKZ\noKKP7+D9hgT6h++CmB8FBa9LD90KIwSYyqycCChbkVZjOcBF7w61/2vC8UEFjAin\nyju4kxWDQI5CxcZqE0FLGHrz0QDD1QAkWhDvOfyRzf+znWk0C13z1RDzlu6qJ+KQ\nyiAY68repdN7mMr6hRiFG2d8q053tIs9FzbxwgexasExNJpK/z6mxUPAWTuEImCE\n/A7i5LhgoybIfOaOlVRjChCmw0rUD0QkY2jf3WU5hH0kXewYJTDkLZZx4pktp7I1\nZtkn6iQ1aYr9GInZ6AeaCYnwPe6INXAGS2YZV3EObHaZPMqvJEHRvMaF0qoOOpjt\naE+GBbiAOPS9w/eFLaASK/YLA3I95swb\n-----END CERTIFICATE-----" | sample self-signed certificate for my.dns.example.com. Valid for 3650 days. |
| bootstrapConfig.tls.certificate_path | string | "" | |
| bootstrapConfig.tls.dnscrypt_config_file | string | "" | |
| bootstrapConfig.tls.enabled | bool | true | |
| bootstrapConfig.tls.force_https | bool | false | |
| bootstrapConfig.tls.port_dns_over_quic | int | 784 | |
| bootstrapConfig.tls.port_dns_over_tls | int | 853 | |
| bootstrapConfig.tls.port_dnscrypt | int | 0 | |
| bootstrapConfig.tls.port_https | int | 443 | |
| bootstrapConfig.tls.private_key | string | `"-----BEGIN PRIVATE KEY-----\nMIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDA4pVpKKM/Ucto\nySqo4P9UipyFG3dQOWMIz+sYCUv/VtgkoDG90/Eh98Xc8+LAsWzikwR4ucZlS1aN\nP8dNGk9Ta6FSI5R3p9j8q0XiPjooclpFX+QhO1UezKCdJ2BSJuDeoZCkbWVx8yCw\n6awK9xDrXnW4+In6H5W/oBFYPTf7laowodAZITPAynfcXaHU4LiTWByndli34YeT\n2t9d3ELQaHYrEjzDmcqBsolWCPCju4heT4lHA24gOfb17LDBa5ZPZUREssz+tWsQ\n2Dbm0qX82Y0RlGws1pJC3aB4l6/iZCp+i6wgSqDLfQgnUClBRf+uUtxIQHhf62kw\na5YSoQk4nkeJHhlBKT12vxplCNEMaK8Wor7daSO5yVRhiQ3Uqg5iyFulEBFSWOp9\nkQfLxdw5ILT0/n3KsrBzvRoEdtxEmmCHDTbRbusziwwKNyYxpojj0Z3jXyDgJO5/\n0uUpDZ6Za27DWYtJCI3UWO+9CLWLBI4ZE4tCcVKA8Z6HN3iG/gU/8Lrq97drJbn5\nS7n1xALtsL/x+NVrEJJlmOSK72FbjiVOQTDj3YHOAKDVxtPKAVoXNyiUeDCVqA5c\nK/vvGtgECp4iNIDQCxW0nid+oq7CA4nIv4lfaj609uD/34FhcZAwXV0o8cxq5C6+\nektzqAMGSXB3dv1KO1gzuHj8gvLX4QIDAQABAoICACz/by3GLjdiZJrAe3REcSyO\n3a7r1mzfxmvS3ZyQ5qrd3rTErnYDkLiE7iL6voaHnchJ1fw4EsGkzr9LBrrFDYZ/\nkHXyGPvFK4jeiAIc1EKFUuvmT/k0t0nlIP8opX7k1Qb7GBxT7RulRZYgHWO9ebP/\nKGWLjdzNK4k11XYJahsGMlsAFOUX6tPqKAY/zbY06rptDto+cLoNIizrHbru3KN0\nC0VHDufu4+BX/1QT59e6sziVQ4hOk41vGF8M5btp1voUvNVuBQbS2fRnDH/S2qhf\nNFrKjmXzdNGmlH4 |
Deploy adguard-home with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has adguard-home on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartadguard-home is pinned at v0.25.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply