37
submitted 1 year ago* (last edited 1 year 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 13 points 1 year ago

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

[-] MaggiWuerze@feddit.org 10 points 1 year ago

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

[-] clmbmb@lemmy.dbzer0.com 6 points 1 year 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 1 year ago

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

[-] malwieder@feddit.org 1 points 1 year 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 1 year ago
[-] malwieder@feddit.org 2 points 1 year 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 1 year ago

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

[-] clb92@feddit.dk 1 points 1 year ago

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

[-] azron@lemmy.ml 1 points 1 year ago

Caddy and chill.

this post was submitted on 15 Aug 2025
37 points (95.1% liked)

Self Hosted - Self-hosting your services.

20934 readers
9 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 5 years ago
MODERATORS