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

add remote link for the api port. #34

Closed
wants to merge 3 commits into from

Conversation

seyf1elislam
Copy link

adding remote link for api port , using flask cloudflared ,default value false.

image

@remsky
Copy link
Owner

remsky commented Jan 13, 2025

This looks pretty cool, it looks like they also offer it as a container which could be tacked into the compose instead, which might be a cleaner separation. Will take a look though

https://hub.docker.com/r/cloudflare/cloudflared

@DevilaN
Copy link

DevilaN commented Jan 14, 2025

Gradio --share option should be enough. You can specify credentials to restrict access too.
This should be a matter of defining proper variables and constructing start parameters in entrypoint for ui image.

@seyf1elislam
Copy link
Author

Gradio --share option should be enough. You can specify credentials to restrict access too. This should be a matter of defining proper variables and constructing start parameters in entrypoint for ui image.

the --share flag forwards only the default Gradio GUI port, which is different from the API port. not sure if there’s a way to use it otherwise.

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

Successfully merging this pull request may close these issues.

3 participants