Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have a default config filename? #260

Open
yrro opened this issue Oct 9, 2024 · 0 comments
Open

Can we have a default config filename? #260

yrro opened this issue Oct 9, 2024 · 0 comments

Comments

@yrro
Copy link

yrro commented Oct 9, 2024

With gunicorn I find it convenient to create a gunicorn.conf.py file which contains all the settings needed to run my app (the module/factory for the application, see #229). That way, I can run my app by simply launching gunicorn, which will load all the necessary settings from gunicorn.conf.py.

With hypercorn, there doesn't seem to be a default for the config file, so I always have to run hypercorn -c hypercorn.toml which is less convenient to type. It would nice if hypercorn defaulted to reading hypercorn.toml out of the current directory if it exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant