38
submitted 3 weeks ago* (last edited 3 weeks ago) by interdimensionalmeme@lemmy.ml to c/selfhost@lemmy.ml

Of course, after than, whatever you've just plugged into it, will most likely not work

502 Bad Gateway
504 Gateway Timeout
X-Forwarded-For

The solution is probably somewhere deep in the bowels of whatever you're trying to make work

It will look obvious once you've figured out, that's why it wasn't mentioned next to the bunch of instruction you pasted into your console to install the thing

Just another day walking in the forest of papercuts

you are viewing a single comment's thread
view the rest of the comments
[-] BlueEther@no.lastname.nz 14 points 3 weeks ago

um...
nano /etc/caddy/Caddyfile
systemctl restart caddy

[-] MaggiWuerze@feddit.org 10 points 3 weeks ago

Or just write your labels when creating the compose file and Traefik does the rest

[-] clmbmb@lemmy.dbzer0.com 6 points 3 weeks ago

I tried traefik a few times and the labeling is so fucking convoluted! I much prefer Caddy for simple deployments and NPM for home, because it's easier for me to have a nice dashboard.

[-] Zanathos@lemmy.world 1 points 3 weeks ago

Use file configuration, it's a lot easier to grasp IMO.

[-] malwieder@feddit.org 1 points 3 weeks ago

I don't like having to give Traefik access to my /var/run/docker.sock, or is that no longer the case?

[-] frongt@lemmy.zip 0 points 3 weeks ago
[-] malwieder@feddit.org 2 points 3 weeks ago

I don't think mounting the socket read-only does what you think it does: https://news.ycombinator.com/item?id=17983623

It's a horrible idea unless you absolutely trust Traefik to be bulletproof.

[-] MaggiWuerze@feddit.org -1 points 3 weeks ago

Well yeah, if you want it to react to deployments. But like others said, out it to :to and you're done

[-] azron@lemmy.ml 1 points 3 weeks ago

Caddy and chill.

[-] clb92@feddit.dk 1 points 2 weeks ago

You don't have to fully restart caddy. You can tell it to reload the caddyfile.

this post was submitted on 15 Aug 2025
38 points (95.2% liked)

Self Hosted - Self-hosting your services.

15600 readers
1 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

Important

Cross-posting

If you see a rule-breaker please DM the mods!

founded 4 years ago
MODERATORS