I have two different projects and I want to run both projects in separate urls.
For example, one project should run at 127.0.0.1:8080 while the other project should run at 127.0.0.1:8081
I created different docker-compose.yml for prefect containers and gave different ports.I created the containers but I can’t access it except port 8080.
Is it possible to run two different prefect projects on the same server?
2
Answers
In my opinion, you should define port in docker compose file
Example:
Also, if you’re just getting started with Prefect, it would be much easier for you to start with Prefect 2.0 – here are the docs. You could easily switch between both instances using Profiles https://orion-docs.prefect.io/concepts/settings/#configuration-profiles