hugapi / hug

Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.
MIT License
6.86k stars 389 forks source link

How to configure a service? #885

Open piegamesde opened 3 years ago

piegamesde commented 3 years ago

I couldn't really find anything in the documentation, and I'm stuck. I'd like to pass some configuration values to my service on startup, and I don't really know how. What's the recommended way? And how does it look like in production (e.g. when using gunicorn)?