Is it possible to use Windmill behind an HTTP1/1 proxy? #3747
-
I am reaching out to seek advice regarding a potential integration of Windmill as an external application within Nextcloud. Our current app system in Nextcloud has certain limitations. Specifically, all external applications, unless their UI is modified (which we aim to avoid), must operate within an iframe, with the frontend connecting to the backend via a proxy. The current version of the proxy does not support gRPC, websockets, or any persistent connections. It only supports stateless requests such as REST API, i.e., HTTP/1.1. Would these limitations be critical for Windmill? From my brief review of the repository, I understand that collaborative flow editing (which we do not need) and LSP would not work. Additionally, creating Python scripts would not be possible as their editing uses websockets. I have also noticed that gRPC is used in some parts of Windmill. Therefore, my questions are: Will there be more components in Windmill in the future that rely on protocols other than HTTP/1.1? Thank you in advance for your assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Windmill doesn't use grpc and websockets are really optional, only use for multiplayer and LSP. You can run windmill in MODE=standalone where it will act as both a server and a worker. You will need a database though. For the time being, we will keep being usable as a pure http service |
Beta Was this translation helpful? Give feedback.
-
Is it possible in the standalone container If there is no such config option, can you please point in which file this logic lives and I'll start to learning Rust to patch this 😂 Thanks a lot in advice |
Beta Was this translation helpful? Give feedback.
Windmill doesn't use grpc and websockets are really optional, only use for multiplayer and LSP.
You can run windmill in MODE=standalone where it will act as both a server and a worker. You will need a database though.
For the time being, we will keep being usable as a pure http service