"""Application entry point for the hexagonal-architecture refactor. Run directly: uv run python main.py Or via uvicorn: uv run uvicorn main:app --reload --host 0.0.0.0 --port 8000 The old entry point (app/main.py) remains in place for reference until the migration is complete. """ import uvicorn from config.container import create_app # create_app() reads Settings from env / .env and wires all adapters. # The lifespan (startup/shutdown) is attached to the returned FastAPI instance. app = create_app() if __name__ == "__main__": uvicorn.run( "main:app", host="0.0.0.0", port=8000, reload=True, )