🚀 Auto-deploy: BotVPS atualizado em 27/03/2026 21:38:16

This commit is contained in:
2026-03-27 21:38:16 +00:00
parent 43332e6c06
commit b2904a2f9f
3 changed files with 5 additions and 4 deletions

View File

@@ -203,4 +203,5 @@ async def get_orch_status(is_auth: bool = Depends(verify_password)):
# --- SERVER ---
if __name__ == "__main__":
import uvicorn
uvicorn.run("main:app", host="0.0.0.0", port=8000, reload=True)
port = int(os.getenv("PORT", 8001))
uvicorn.run("main:app", host="0.0.0.0", port=port, reload=True)