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.
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.How about traefik?
What do you use caddy for without domains?
Here’s a good source for nextcloud https://hub.docker.com/_/nextcloud/
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.
Without using a domain a reverse proxy doesn’t really make sense to use, since you’re just using direct IP addresses.