Skip to content

dopos/traefik-fl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

traefik-fl - Traefik frontend list

This simple utility proxies request to traefik container, filters response and returns hash with running backends and its hosts.

The aim of this project is to cut traefik api private data (BasicAuth etc) from running host list for use in dcape CIS.

Result parsing example: see javascript index.html there.

Usage

$ curl -s http://cis.dev.lan/frontends.json | jq '.'
{
  "cis": [
    "cis.dev.lan"
  ],
  "gitea": [
    "git.dev.lan"
  ],
  "pdns": [
    "ns.dev.lan"
  ],
  "portainer": [
    "port.dev.lan"
  ]
}

License

The MIT License (MIT), see LICENSE.

Copyright (c) 2017 Alexey Kovrizhkin lekovr+dopos@gmail.com