github dannybouwers/trala v0.10.0
v0.10.0: BREAKING CHANGES - Exclude by entry point

2 hours ago

Warning

Breaking changes - update your configuration file

🚀 Exclude by entry point

If you use multiple entry points, e.g. one public and one local, you can now exclude all services based on the entry point name. You need to update your configuration file to version 3.0. Also if you don't use this method.

How it works

In addition to excluding based on service name, you can exclude services based on their entrypoint names using the exclude.entrypoints key. This allows you to hide entire categories of services (e.g. internal-only or admin interfaces) by filtering on the Traefik entrypoint they use.

# Service configuration
services:
  # Services to exclude from the dashboard
  exclude:
    routers:
      - "traefik-api"  # Hide the Traefik API itself
      - "admin-panel"  # Hide internal admin interface
      - "api*"         # Hide all routers starting with "api"
    entrypoints:
      - "*lan*"        # Hide services using entrypoints containing "lan"
      - "internal"     # Hide services using the "internal" entrypoint

Migration

To fix your existing configuration, add the key routers: one level below services: and move the list of services to that key. Update the config version to version: 3.0 to remove the front-end warning.

Version 2.0:

# Service configuration
services:
  # Services to exclude from the dashboard
  exclude:
    - "traefik-api"
    - "admin-panel"
    - "api*"

Version 3.0

# Service configuration
services:
  # Services to exclude from the dashboard
  exclude:
    routers: # ⚠️ NEW KEY
      - "traefik-api"  
      - "admin-panel"
      - "api*"

What's Changed

  • 49 exclude based on entrypoint name by @M1scer in #54
  • fix(deps): update all non-major updates by @renovate[bot] in #64
  • Removed obsolte version in compose.yml example by @M1scer in #66

Full Changelog: v0.9.1...v0.10.0

Don't miss a new trala release

NewReleases is sending notifications on new releases.