Middleware Manager Docs

Environment Variables

Runtime configuration flags for Middleware Manager.

Key variables (defaults shown where applicable):

  • PORT — UI/API port (default 3456)
  • DB_PATH — SQLite path (default /data/middleware.db)
  • TRAEFIK_CONF_DIR — directory to write dynamic rules (default /conf)
  • TRAEFIK_STATIC_CONFIG_PATH — path to Traefik static config inside MM container (required for plugin install)
  • ACTIVE_DATA_SOURCEpangolin or traefik (default pangolin)
  • PANGOLIN_API_URL — Pangolin API base when active (http://pangolin:3001/api/v1 if empty)
  • TRAEFIK_API_URL — Traefik API base when active (http://host.docker.internal:8080 if empty)
  • CHECK_INTERVAL_SECONDS — resource poll interval (default 30)
  • SERVICE_INTERVAL_SECONDS — service poll interval (default 30)
  • DEBUGtrue/false toggles Gin logger
  • ALLOW_CORS — enable CORS; CORS_ORIGIN to scope

Static config path

If TRAEFIK_STATIC_CONFIG_PATH is wrong, plugin install/remove and mTLS plugin checks will fail. Match the path to your mounted /etc/traefik/*.yml inside the MM container.

Screenshot placeholder — environment/config panel illustration.