Skip to content

Support binding to unix domain sockets #1850

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

Open
phue opened this issue Feb 12, 2025 · 0 comments
Open

Support binding to unix domain sockets #1850

phue opened this issue Feb 12, 2025 · 0 comments

Comments

@phue
Copy link

phue commented Feb 12, 2025

It would be nice if shiny run would expose a cli option to bind to unix domain sockets instead of tcp ports.
uvicorn already supports this via the --uds flag.

This already works in python (as run_app() passes **kwargs on to uvicorn.run()):

from shiny import run_app

run_app("app:app", uds="/tmp/shiny.sock")

But in the shiny run cli, additional arguments are not allowed.

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

No branches or pull requests

1 participant