Skip to content

Enable on a service

Add middleware to a service

Add the following parameters to the service

version: '3.3'
services:
  service_name:
    deploy:
      replicas: 0
      labels:
        sablier.enable: 'true'
        sablier.group: service_name
        traefik.docker.lbswarm: 'true'
        traefik.http.routers.service_name-https.middlewares: authelia@docker, service_name-sablier@file

Configure the plugin using traefik dynamic configurations

  1. Add the service name to the configuration file from Filebrowser or coder.

  2. Define some variables.

The Sablier plugin configurations in Traefik dynamic configurations will be this file


Note

If you change the dynamic configurations file then you have to restart the sablier service.

Apparently, and restart traefik!

update

add this and it should always work

--providers.file.directory=/my/path/to/dynamic/conf

--providers.file.watch=true

update

no it doesnt, you have to restart traefik!