How do I publish a web api/site?

I’m looking for a tutorial that explains how to expose a web api (or web app).

Sorry for the noob question, but I am a new Racher user and I am having a hard time wrapping my head around all the moving parts.

I have a small Stack with Redis and a REST API. I wrote the latter. I got everything to deploy with a small docker-compose.yml.

But now I want this API to become available under a name, say api.staging.example.com.

If I were to do this manually, I would spin up Caddy or Nginx, setup Let’s Encrypt and proxy to the API. But, I understand that Rancher can do most or al of this automatically. Including updating the DNS.

Is there a simple tutorial that explains how to do this?