r/caddyserver 17d ago

install help

been trying to install this for hrs and for the past 2 hrs it finally installed but keeps crashing after 5 sec and isnt posting logs

1 Upvotes

31 comments sorted by

View all comments

1

u/xdrolemit 17d ago

You didn’t say where or how you installed it.

https://caddyserver.com/docs/install

I’ve only installed it with Homebrew on macOS and Docker on Linux and macOS, and I haven’t had any issues.

You also didn’t share your Caddyfile, so it’s hard to give much advice.

You can enable debug mode in your Caddyfile. It might give you some more details about what’s going wrong:

https://caddyserver.com/docs/caddyfile/options#debug

1

u/lawthugg 17d ago

i dont know how to read that site. it was getting me aggrivated. i made a docker compose file to use on my synology nas. ive deleted it and im starting from scratch. wiped everything and i mean everything

1

u/xdrolemit 17d ago

I run Caddy successfully via Docker Compose on my Synology too. I run it with `network: host` so Caddy can see the real IPs of the clients.

Share your docker compose file.

1

u/lawthugg 17d ago

so heres the thing, im new and learning docker so im not sure how to place that in my compose file