Would it be possible to use ports 443 and 80 for both Adguard Home and Vaultwarden? They’re both on the same machine, Vaultwarden will be in a docker container and Adguard Home not. I’m doing this on an Ubuntu server.

  • Scrubbles@poptalk.scrubbles.tech
    link
    fedilink
    English
    arrow-up
    18
    ·
    6 months ago

    You’re looking for a proxy, a way to divvy out requests between the two containers. The proxy will listen on those ports and then split the traffic to the two other containers (which are listening on 2 different ports)

    Start looking into nginx reverse proxy, traefik, or caddy

    • Tiggsy@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      6 months ago

      I’ve just started doing that on my setup this week.

      Personally, I went for nginx. Fairly straightforward to get up and running. Suddenly, my containers (as well as a couple of other VMs and devices) have their own host names and no trailing port numbers.
      Much tidier.