feat: Implement initial FastAPI application structure with configuration, core services, and an admin UI.
This commit is contained in:
4
main.py
4
main.py
@@ -6,4 +6,6 @@ load_dotenv()
|
||||
|
||||
if __name__ == "__main__":
|
||||
port = int(os.getenv("PORT", 8000))
|
||||
uvicorn.run("app.main:app", host="0.0.0.0", port=port, reload=True)
|
||||
is_development = os.getenv("ENVIRONMENT", "development") == "development"
|
||||
uvicorn.run("app.main:app", host="0.0.0.0", port=port, reload=is_development)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user