Serverless style hosting with caddy?


(Kai Hendry) #1

Hi guys,

So I am a serverless convert since all I do is setup a JSON file and issue one command up and boom it’s hosted / scalable / blah blah.

I was just thinking, to host a similar app, e.g.


or perhaps a more realistic example with a domain:

with caddy, I would have to:

  1. Set up a .service file to run service on a certain port. Guess I would add some complexity to the service file to to pull on restart so I have a way to update it
  2. Create a caddy proxy configuration for that service on the certain port

Has anyone make these couple of awkward steps… one or no steps? That’s what I am looking for!

Thanks in advance,