Closed tacass closed 3 months ago
Hey @tacass
Thanks for this!
The asyncio problem is that when running using uvicorn directly we need to pass --loop asyncio
because of the nest_asyncio.
Now, if you just want to run Langflow in a docker container, you should use the logspace/langflow:1.0-alpha image.
If you want to build the docker image yourself, you should probably use langflow.main:create_app
instead of thesrc.backend...
.
The Dockerfiles in the root folder are still in need of updates, that's why they don't work.
You can take a look in the docker_example folder for some more up-to-date examples.
Would you be willing to test this PR out? #1751
I won't be able to do it today, but I can take a look at it tomorrow. Did you intend to include -loop asyncio
in the uvicorn launch in the docker version?
Would you be willing to test this PR out? #1751
It seems not working yet.
backend-1 | Error: Invalid value for '--loop': 'asyncio,' is not one of 'auto', 'asyncio', 'uvloop'.
I'm taking a look but there is a lot of Dockerfiles!
anyone solved the issue with docker compose for the whole stuff?
Hello @qwaszaq, Sorry for the delay. Did you try using the new version? Does the error still persist?
Hi @tacass and @qwaszaq ,
We hope you're doing well. Just a friendly reminder that if we do not hear back from you within the next 3 days, we will close this issue. If you need more time or further assistance, please let us know.
Thank you for your understanding!
Thank you for your contribution! This issue will be closed. If you have any questions or encounter another problem, please open a new issue and we will be ready to assist you.
Describe the bug This is really two different issues, but I'll put them both here. To get the dockerized app to start I had to make this change in v1.0.0a23
I'm not an expert in asyncio in this context, but to allow it to run I made this change: