https://prefect.io logo
Title
j

José Duarte

09/02/2022, 1:47 PM
Hey yall, is there a complete guide on how to deploy Prefect open source or not really?
👀 1
1
r

Ryan Peden

09/02/2022, 2:10 PM
Hi Jose, I don't think we yet have a guide that gets into all the specifics of how to deploy Prefect 2 OSS, because the instructions would depend on where you intend to deploy it. To run the API, all you need to do is run
prefect orion start
and it will run as a web service on port 4200. At that point, deploying it is essentially the same as deploying any other web service. I've seen quite a few people set up Nginx to accept outside connections and proxy them to the Orion API. Running Prefect OSS using Docker Compose is quite common as well. I created a GitHub repo that demonstrates how to run all the OSS parts of Prefect, which you might find useful. Near the beginning of the README, I link to another user's Docker Compose setup that I believe they use in production, so you may find that useful too.
j

José Duarte

09/02/2022, 2:11 PM
Thank you @Ryan Peden!