Centralize configuration into config.yaml

- All settings moved to config.yaml
- configs/load.py reads from config.yaml with env var overrides
- Environment variables still work for backward compatibility
- Added pyyaml to requirements
This commit is contained in:
2026-06-10 10:19:41 +08:00
parent 4485cbf702
commit c8fd057129
10 changed files with 123 additions and 40 deletions
+5 -1
View File
@@ -13,7 +13,11 @@ from app.core.lifecycle import startup
from app.signaling.websocket_server import main as serve
if __name__ == "__main__":
def main():
startup()
logger.info("Starting server...")
asyncio.run(serve())
if __name__ == "__main__":
main()