-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: deploy langflow using langchain-serve #307
Conversation
Moving to draft PR to complete
|
I tried running it here but after deployment, I get the following |
There's an issue with the latest
Yes, the docker image size is quite large (>5G) because of all the dependencies, which is why I want to separate these 2 things
|
@ogabrielluiz can you please give it ( Gotchas
Tomorrow, I'll do a few more runs with a few more fixes for the size of the image. |
Tried it and it works! One point of concern is adding long-running steps to the release.yml. We can discuss more about that as we flesh out this feature. |
Sure, I understand this. There are 2 options here -
I'd prefer starting with 1 as the images are pushed/pulled to/from my Jina AI account ("jinaai+docker://deepankarm/langflow"). |
Option 1 looks interesting. Another point is we should make |
c05fa4a
to
a67ec4d
Compare
I was thinking of creating a folder in the root called deploy and having some of the options available there, including jina. Would this PR still work in that scenario? |
@ogabrielluiz How to make it available to pypi users if this code is outside the package? We can definitely make jcloud deployment work with a different directory structure, but should we handle that in another PR (once we have other providers)? |
bec16bf
to
828095a
Compare
8bb7936
to
87a7357
Compare
@ogabrielluiz The PR is now ready. Awaiting your approval to run the CI. There might be issues when we merge it and run the release workflow while triggering the external event (though I've tried to make sure there are no issues there). |
64976d7
to
f7de3bb
Compare
Added how to deploy & API usage to the readme 👉 link |
Goals
Deploy Langflow on Cloud using a single command -
langflow --jcloud
/
./docs
Using Time Travel Guide
Frontend
API
Features
Hidden from the user
lcserve_push
andlcserve_deploy
make targets for testing deployment during development.