In the middle of trying to set up Caddy as a reverse proxy for my *arr stack. All local only - no domains or accessing from outwith the LAN.

Wondering if anyone has done similar and wouldn’t mind sharing their docker compose files/Caddyfiles? Struggling to find real-work examples that don’t error when I compose.

  • BlackEco@lemmy.blackeco.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    29 days ago

    What’s your issue exactly?

    Personally, I set up Caddy with subdomains like radarr.local.example.tld, added a DNS entry on my domain so that *.local.example.tld points to the local IP of Caddy, then followed this guide so that Caddy issues TLS certificates using the DNS challenge (since the subdomains don’t point to anything accessible from Internet) along with the caddy-docker-proxy plug-in to easily manage upstreams.

    • bender223@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      29 days ago

      that’s a good point. I’ve only used caddy for handling certs for all the docker containers on my server. for local uses, you generally don’t need certs, although there are some apps that communicate with an offsite db that requires a secure connection.

  • MangoPenguin@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    29 days ago

    Without using a domain a reverse proxy doesn’t really make sense to use, since you’re just using direct IP addresses.