feat: F1 — panel admin web (FastAPI, solo 127.0.0.1, X-Admin-Token, SSH tunnel)
This commit is contained in:
@@ -69,6 +69,10 @@ class Settings(BaseSettings):
|
||||
health_port: int = 8080
|
||||
health_alert_hours: int = 2 # alerta al admin si el poller no actualizó en N horas
|
||||
|
||||
# Panel de administración (solo 127.0.0.1, acceso via SSH tunnel)
|
||||
admin_token: str = "" # generar con: python -c "import secrets; print(secrets.token_hex(32))"
|
||||
admin_port: int = 9090 # health_port usa 8080; admin usa puerto separado
|
||||
|
||||
# Logging
|
||||
log_level: str = "INFO"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user