template.yaml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. ---
  2. kind: compose
  3. metadata:
  4. name: AdGuard Home
  5. description: |-
  6. Network-wide software for blocking ads and tracking. AdGuard Home operates as a DNS server that
  7. re-routes tracking domains to a "black hole", thus preventing your devices from connecting to those servers.
  8. It features advanced DNS filtering, parental controls, safe browsing, and HTTPS/DNS-over-TLS/DNS-over-QUIC support.
  9. ## Prerequisites
  10. - :info: During the initial setup, AdGuard Home runs an HTTP server on port 3000 to guide you through configuration.
  11. After completing the setup, AdGuard Home switches to the configured HTTP port, and port, consider re-deploying the
  12. service with `initial_setup=false`.
  13. - :warning: If you require DHCP functionality or want AdGuard Home to bind directly to port 53,
  14. you must set `network_mode` to `host` or `macvlan`. Note this exposes all container ports directly on the host.
  15. You can't use `traefik_enabled` in this case!
  16. ## References
  17. - **Project:** https://adguard.com/adguard-home/overview.html
  18. - **Documentation:** https://github.com/AdguardTeam/AdGuardHome/wiki
  19. - **GitHub:** https://github.com/AdguardTeam/AdGuardHome
  20. icon:
  21. provider: selfh
  22. id: adguard-home
  23. version: v0.107.71
  24. author: Christian Lempa
  25. date: '2025-12-11'
  26. tags:
  27. - traefik
  28. - network
  29. - volume
  30. next_steps:
  31. draft: true
  32. schema: 1.2
  33. spec:
  34. general:
  35. vars:
  36. service_name:
  37. default: "adguardhome"
  38. initial_setup:
  39. description: "Enable initial setup wizard on port 3000"
  40. type: bool
  41. default: true
  42. extra: >
  43. Port 3000 is only used during the initial setup wizard.
  44. After completing setup, AdGuard Home switches to the configured HTTP port and port 3000 becomes inactive.
  45. Set to false if you've already completed the initial setup.
  46. traefik:
  47. vars:
  48. traefik_host:
  49. default: "adguardhome"
  50. network:
  51. vars:
  52. network_mode:
  53. extra: >
  54. Use 'host' mode if you need DHCP functionality or want AdGuard Home to bind directly to port 53.
  55. NOTE: Swarm only supports 'bridge' mode!
  56. network_name:
  57. default: "adguardhome_network"
  58. ports:
  59. vars:
  60. ports_http:
  61. default: 80
  62. ports_https:
  63. default: 443
  64. ports_initial:
  65. description: "Initial setup wizard port"
  66. type: int
  67. default: 3000
  68. needs: ["traefik_enabled=false", "initial_setup=true"]
  69. extra: >
  70. Only used during first-time setup. After configuration, port becomes inactive.
  71. ports_dns:
  72. description: "DNS port"
  73. type: int
  74. default: 53
  75. ports_tls:
  76. description: "DNS over TLS Port"
  77. type: int
  78. default: 853
  79. ports_dnscrypt:
  80. description: "DNSCrypt Port"
  81. type: int
  82. default: 5443