this post was submitted on 19 Aug 2025
22 points (92.3% liked)

Selfhosted

50636 readers
253 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] bulwark@lemmy.world 4 points 8 hours ago (1 children)

I also use Traefik, and once you have it set up it's really great. Getting it set up is a different story. My advice would be to follow the install guide as closely as you can and don't start adding to it until it's stable.

You don't need to own a domain to use a reverse proxy by the way, you just need to configure your router to recognize whatever domain you choose and route it to the container.

Lately, I've been playing around with Tailscale and you don't even need a domain or open ports to connect to your containers from outside your local network.

[–] undefined@lemmy.hogru.ch 1 points 4 hours ago (1 children)

I recently wrote a Caddyfile for a Dockerized Ruby on Rails application in a Kubernetes cluster using Traefik. Traefik connects to Caddy via h2c and Caddy talks to Puma in Ruby on Rails via HTTP/1.1 over UNIX socket.

I bring this all up because I think h2c is very underutilized and this led to a huge increase in performance.

[–] bulwark@lemmy.world 2 points 3 hours ago

I've never heard of h2c but it seems useful. I use docker swarm with a few nodes. But for internal communication all the containers can communicate with each other using docker's built-in DNS.

I run Traefik in front of Caddy for a few different applications including Nextcloud.