feat(gateway): optional .env loading for local dev (app + seed); document in e2e guide

This commit is contained in:
PedroHMCosme
2026-07-17 09:44:38 -03:00
parent 0e29cc4054
commit 0d60a3fb67
4 changed files with 17 additions and 1 deletions

View File

@@ -7,6 +7,13 @@ from time import time
from prometheus_client import start_http_server
try: # optional: local dev reads .env; in-cluster env comes from Helm (no .env file)
from dotenv import load_dotenv
load_dotenv()
except ImportError:
pass
import ingestor.metrics as metrics
from ingestor.config import GatewayConfig
from ingestor.gateway_runtime import GatewayRuntime