deploymate / run.py
shakauthossain's picture
Version 1.0.0
4e9eb6a
raw
history blame contribute delete
411 Bytes
#!/usr/bin/env python3
"""
Application entry point for DevOps Toolkit API.
"""
import uvicorn
from app.core.config import settings
def main():
"""Start the FastAPI application server."""
uvicorn.run(
"app.main:app",
host=settings.host,
port=settings.port,
reload=settings.debug,
log_level=settings.log_level.lower()
)
if __name__ == "__main__":
main()