timoklimmer / powerproxy-aoai

Monitors and processes traffic to and from Azure OpenAI endpoints.
MIT License
85 stars 24 forks source link

Feat: Load app conf by env var #1

Closed clemlesne closed 9 months ago

clemlesne commented 9 months ago
timoklimmer commented 9 months ago

Let's stick with the existing config system, which I find less complex. I have extended the current config system such that it also accepts a configuration stored in env var POWERPROXY_CONFIG_STRING. That way, we can use a uvicorn command without syntax issues, eg. in the Dockerfile.