6

Hi there, I want to check out Habitat, I have a real need for it right now. But it appears to do two things I want to handle on my own - use Let's Encrypt for SSL certs and use Caddy.

On my VPS, I already have Caddy running and I want my instance to set up the SSL certs for the front-end. So, can I remove the Docker setup use of Caddy or just tell Habitat not to enable that part of its setup?

To be clear, I am thinking I could set up Habitat to run like this:

  • Front-end: https://mysubdomain.mydomain.com/
  • My existing Caddy sees the request come in that way, redirects to the internal docker-based service.
  • Habitat gets the request forwarded to it, on some other internal only port like 3000
  • Habitat returns the normal page for the route.

Does that seem do-able? Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] carlnewton@feddit.uk 1 points 5 days ago

Hello, I'm sorry -- I missed this! I'm new to hosting a lemmy community -- and everything else that comes with maintaining an open source project that's in use to be honest!

From what you've described, it sounds like you can just remove the ports so long as your caddy container is in the same network as the habitat instance. As your caddy container is handling ssl, you could just pass traffic locally via http I think.

this post was submitted on 06 Mar 2026
6 points (100.0% liked)

Habitat

51 readers
1 users here now

Habitat is a free and open-source social platform for local communities.

Locals can create posts linked to a specific location on a map, making it easy for others to find and join the conversation about their local area.

founded 1 week ago
MODERATORS