Added git commit id to build process

This commit is contained in:
florian committed 2026-10-19 11:11:52 +02:00
1 parent cc59471b07
commit ffe8daaaad
4 files changed
+11 -2

No files matched your search

+1
View File
@@ -259,6 +259,7 @@ async def pull_notifications(
async def start_servers():
logger.info("[Server] Starting main API (port 8100) and metrics server (port 9000)...")
logger.info(f"[Server] Build commit id={os.getenv("COMMIT_ID","unknown")}")
config_main = uvicorn.Config("main:api", host="0.0.0.0", port=8100, log_level=LOG_LEVEL.lower(), log_config=None)
config_metrics = uvicorn.Config("metrics_server:metrics_api", host="0.0.0.0", port=9000, log_level=LOG_LEVEL.lower(),log_config=None)