Streamlit deployment #79
-
This is an awesome project; and I'm using it for rapid prototyping of a bunch of agentic ideas. One this I haven't been able to figure out though is how you managed to get this running in Streamlit cloud. I haven't been able to successfully start the service process from unside of streamlit and I don't see other pipeline options in streamlit. Could you share your approach? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @11dimnsion thank you! The service is running as an azure web app, not in Streamlit Cloud. I’m pushing the service docker image to docker hub and then deploying it from there. You can see the automation here, it updates on every push to main now so I don’t have to mess with it: https://github.com/JoshuaC215/agent-service-toolkit/blob/main/.github/workflows/deploy.yml To run yourself you’d need to modify the condition at the top and set the right secrets in your repo. Then once it’s deployed you just need to set the azure URL and the secret header (if desired) in the streamlit app secrets. It’s been running on the Azure free tier with modest daily traffic from this repo for a couple months and hasn’t cost me anything. I did set up the app manually in the azure web console initially. I’d like to add terraform or more specific instructions to set it up but haven’t gotten around to it. I imagine it would be fairly straightforward, if you want to document and share back anything you do that would be great!! Hope this helps, let me know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
Hey @11dimnsion thank you!
The service is running as an azure web app, not in Streamlit Cloud. I’m pushing the service docker image to docker hub and then deploying it from there.
You can see the automation here, it updates on every push to main now so I don’t have to mess with it:
https://github.com/JoshuaC215/agent-service-toolkit/blob/main/.github/workflows/deploy.yml
To run yourself you’d need to modify the condition at the top and set the right secrets in your repo. Then once it’s deployed you just need to set the azure URL and the secret header (if desired) in the streamlit app secrets.
It’s been running on the Azure free tier with modest daily traffic from this repo for a couple mo…