Haxxnet / Compose-Examples

Various Docker Compose examples of selfhosted FOSS and proprietary projects.

Home Page:https://haxxnet.github.io/Compose-Examples/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adguard-home requires port 3000 to be mapped for setup process

adamshand opened this issue · comments

Hey,

First off, thanks for sharing, nice to see a collection of useful compose files!

I tried out the AdGuardHome one and ran into a bug. For the initial setup it seems that AdGuardHome listens on port 3000. However once the initial setup is done, it listens on port 80.

Not sure what the right way to handle this in the compose file is, but perhaps something like:

    ports:
      - 8080:80/tcp   # web interface after initial setup
      - 3000:3000/tcp  # web interface for setup (remove after setup)
      - 53:53/tcp
      - 53:53/udp

Or perhaps I've misunderstood what was happening?

Or perhaps even more helpfully ....

    ports:
      - 53:53/tcp # dns
      - 53:53/udp # dns
      # - 67:67/udp # dhcp
      # - 68:68/tcp # dhcp
      # - 68:68/udp # dhcp
      # - 784:784/udp # dns-over-quic
      # - 853:853/tcp # dns over tls
      # - 853:853/udp # dns over tls
      # - 5443:5443/tcp # dnscrypt
      # - 5443:5443/udp # dnscrypt
      - 3000:3000/tcp # only for initial setup!
      - 8080:80/tcp # web interface
commented

Good catch! Thanks for bringing it up.

Fix in 7a21c4c