I’m looking into setting up https for my local services. Everything is currently set up using the official caddy docker image.

I want to use now connect caddy to cloudflare to resolve the DNS 01. It looks like this is possible with a drop in replacement for caddy from either https://github.com/CaddyBuilds/caddy-cloudflare or https://github.com/serfriz/caddy-custom-builds

Is anyone here using these builds? Are they reliable? Is there an alternative I havent considered?

  • anytimesoon@piefed.socialOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    This is basically the dockerfile these projects provide, so I guess I could do this myself. How do you keep the caddy container up to date? I have tugtainer (something like watchtower) update caddy automatically, but I guess this set up would break that

    • ryper@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 days ago

      I can’t help you with automation. I update my containers manually, whenever I think to do it. Nothing is accessible outside my network so I’m not worried about staying on top of security updates.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 days ago

      I have tugtainer (something like watchtower) update caddy automatically, but I guess this set up would break that

      Does tugtainer (always makes me giggle) have to ability to label containers for exclusion like watchtower does?

        • irmadlad@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          Well, what I was thinking/spitballing is that you could label your Caddy container, do updates on everything else. That leaves Caddy to administer when you can devote 15/20 minutes to rebuilding the Caddy container by itself. Not the most graceful, automated solution, but…