Problems with setting up Adguard Home via Docker Compose

  • Hi there


    after a fresh install of OMV 7 I was able to get up my containers except for adguard home

    The error and yml are:

    invalid IP address: 54


    How can I fix this?

  • I would start with a simple config - see by example below.


    You are using a default bridge network approach rather than macvlan - this is fine but...


    I think you need to bind the ip address of the omv server for your dns ports as I have done in the example below.


    I see you are mapping port 54 on the host to 53 in the container. That might be a problem as dns uses port 53.


    Hope this helps a bit...


    OMV 8 (latest) on N100 minipc (16GB) and rpi5 (8GB). OS on SSD/SD. System ext4 on SSD. Data BTRFS on HDDs

  • Well this did'nt work unfortunately : invalid IP address: 192.168.0.22:54

    The port is 53, NOT 54

  • OMV causes you to change the port because of the WebGUI.

    It doesn't matter either, stilkl not able to start the Docker-Container: invalid IP address: 192.168.0.22:53

    • Official Post

    OMV uses port 53, as you've already been told in this thread. Adguard also requires port 53. The best way to solve this problem is to use a VLAN. You can see how to do it here. https://wiki.omv-extras.org/do…te_a_vlan_pi-hole_adguard

  • OMV causes you to change the port because of the WebGUI.

    It doesn't matter either, stilkl not able to start the Docker-Container: invalid IP address: 192.168.0.22:53

    Put those 2 addresses inside ""


    Like


    Code
        ports:
          - "192.168.1.4:53:53/udp"
          - "192.168.1.4:53:53/tcp"
  • You may have a look here:


    ryecoaaron provided a simple solution regarding the port 53 conflict.

    Supermicro SYS-5019C-M4L - 32GB RAM - OMV8x [latest] on 64GB SSD - 1x 1TB NVME for persistent docker and ftp recording data - Proxmox kernel 6.17.x - 2x 8TB Seagate IronWolf Pro as ZFS Mirror for data - Synology DS214 with 2x 4TB WD Red for daily rsync backup - 1x 8TB WD Red for monthly USBbackup

    Edited once, last by belierzz ().

  • Well it looks like a problem of the Docker Compose Plugin. After setting up a new Portainer-Container I was able to set up the AdGuard Container with the aforementioned script without any problems.

    • Official Post

    t looks like a problem of the Docker Compose Plugin

    I disagree. I don't see anything in this thread that the plugin is doing wrong.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.6 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I don't know either. But somehow is Portainer able to use the script without any error message while Docker Compose from the OMV Extras Repo isn't.

    • Official Post

    But somehow is Portainer able to use the script without any error message while Docker Compose from the OMV Extras Repo isn't.

    Is a "script" a compose file? All I can think is you are doing something different with network settings or Portainer defaults to doing something different with networking. I don't use portainer but this isn't a bug with the compose plugin. You just need to be more explicit in your settings like Soma mentions.

    omv 8.0.10-2 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.3 | cterm 8.0 | borgbackup 8.1.6 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • When I inspect the container from Portainer these are the network settings which obviously are working. In the Docker Compose Plugin I miss the option to inspect the container.

  • Anoother suggestion: create a MacVlan inside OMV/services/compose/networks. I.e. "Subnet": "192.168.188.0/24", "IPRange": "192.168.188.6/32", "Gateway": "192.168.188.1". Depends on your config.

    It finally ends up in a fixed IP-address which can be used on your router.


    My working yml:

    Asus P42 Intel N100 | OMV 8 latest

  • retikulum

    Added the Label resolved
  • What a coincidence, I just happened to test adguard home on April 28. Before setting it up, I checked out its docker hub and github pages and looked through this forum for any tips or warnings. I followed Soma’s method, like he mentioned in post #7, and it worked fine with the compose plugin.


    My compose file looks like this:

    OMV 7.x | 6.8 Proxmox Kernel

    GIGABYTE Z370M DS3H Motherboard

    Intel G4560 CPU | 16G×1 Non-ECC RAM

    128G SSD + 1T SSD + 4T×2 HDD | No RAID

    500W ATX PSU | APC BK650-CH UPS

  • . I followed Soma’s method, like he mentioned in post #7,

    You should use the IP of the host.


    The one I used is just an example, ;)

  • Yeah, I tried that with the asterix and the Docker Compose Plugin still returned the error. With Portainer there is no problem in running this stack.

  • Works for me in compose using ip address-port with and without quotes. Very strange it’s not working for the op

    OMV 8 (latest) on N100 minipc (16GB) and rpi5 (8GB). OS on SSD/SD. System ext4 on SSD. Data BTRFS on HDDs

  • You should use the IP of the host.


    The one I used is just an example, ;)

    No problem, I know what that means.

    This happens to be the IP address of my test machine as well. :D

    OMV 7.x | 6.8 Proxmox Kernel

    GIGABYTE Z370M DS3H Motherboard

    Intel G4560 CPU | 16G×1 Non-ECC RAM

    128G SSD + 1T SSD + 4T×2 HDD | No RAID

    500W ATX PSU | APC BK650-CH UPS

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!