V2.0.0 (middleware-manager discussion #22)

:speech_balloon: GitHub discussion middleware-manager #22 in General, started by hhftechnology on GitHub

Middleware Manager v2.0.0 Release Documentation

Release Date: April 29, 2025

Overview

We are excited to announce the release of Middleware Manager v2.0.0, which introduces significant architectural improvements and new features, most notably the ability to operate completely independently of Pangolin by connecting directly to the Traefik API.

This major update transforms the Middleware Manager into a versatile tool suitable for any Traefik deployment, whether as part of the Pangolin stack or as a standalone service with any Traefik instance.

Key New Features

Dual Data Source Architecture

  • Traefik API Integration: Connect directly to Traefik’s API without requiring Pangolin
  • Runtime Switching: Toggle between Pangolin and Traefik data sources through the UI
  • Connection Testing: Built-in connection testing for both data sources
  • Auto-Discovery: Attempts to automatically locate Traefik API endpoints

Enhanced Configuration Management

  • Config.json Support: External configuration file for data source settings
  • Environment Variable Control: Set the active data source via environment variables
  • Persistent Settings: Data source configurations are saved across restarts

Improved Router Configuration

  • Enhanced TCP SNI Routing: Better support for TCP services with custom SNI rules
  • TLS Certificate Management: Configure additional Subject Alternative Names (SANs)
  • Router Priority Management: Control …

:speech_balloon: Join in here or on GitHub.

Roving-Ronin commented on GitHub:

Can’t ‘/data’ be moved to reside in /config/middleware-manager/data, instead of /config/data (via: volumes: - ./data:/data) ? Being in the later it appears to be a data folder for Pangolin and not associated with Middleware Manager.

Also when using these commands/volumes:

    - ./config/middleware-manager/templates.yaml:/app/config/templates.yaml  # Optional
    - ./config/middleware-manager/config.json:/app/config/config.json  # New volume for config

I’ve run into the issue (new Debian 12 VPS) that the templates.yaml is being created by docker as a directory, instead of as a file.
Also the same has been happening for config.json and when you manually create that file and paste the json for the pangolin and traefik data sources, I’ve found that the traefik source (http://gerbil:8080) if set is automatically reset back to http://traefik:8080. If you try to change this also in the GUI the change is not applied to the config.json ?