SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.24k stars 238 forks source link

[APP REQUEST]: Adguard #244

Open Hakker opened 3 years ago

Hakker commented 3 years ago

Dockerhub Link:

https://hub.docker.com/r/adguard/adguardhome

Description

Free and open source, powerful network-wide ads & trackers blocking DNS server.

Separate Database?

does this require a separate database in order to function?

Fill this out as best as you can. Documentation about these can be found here: https://www.portainer.io/documentation/how-to-use-templates/

{
    "type": 1,
    "title": "Adguard",
    "name": "adguard",
    "description": "Free and open source, powerful network-wide ads & trackers blocking DNS server.",
    "logo": "https://secure.gravatar.com/avatar/c04ff98f88bc9d2cebbbd593e8174ddd.jpg",
    "image": "adguard/adguardhome:latest",
    "categories": [
      "adblocker"
    ],
    "platform": "linux",
    "restart_policy": "unless-stopped",
    "ports": [
    "53:53/tcp 53:53/udp"
    "67:67/udp 68:68/udp"
    "80:80/tcp 443:443/tcp 443:443/udp 3000:3000/tcp"
    "853:853/tcp"
    "784:784/udp 853:853/udp 8853:8853/udp"
    "5443:5443/tcp 5443:5443/udp"
    ],
    "volumes": [
      {
        "container": "/conf",
        "bind": "/adguard/conf"

      },
      {
        "container": "/data",
        "bind": "/adguard/data"
      }
    ],
    "env": [
      {
        "name": "PUID",
        "label": "PUID",
        "default": "1000"
      },
      {
        "name": "PGID",
        "label": "PGID",
        "default": "100"
      },
    ]
  },

As with the Dashy request this is an attempt at the config but I'm far from sure. Also depending on how someone wants to use it you can leave out certain port lines.