{"repo":"jittering/traefik-kop","free":true,"listed":false,"github":"https://github.com/jittering/traefik-kop","clone":"git clone https://github.com/jittering/traefik-kop.git","description":"A dynamic docker->redis->traefik discovery agent","language":"Go","stars":508,"topics":["traefik","traefik-docker","docker","redis"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"traefik-kop A dynamic docker- redis- traefik discovery agent. Solves the problem of running a non-Swarm/Kubernetes multi-host cluster with a single public-facing traefik instance. traefik-kop solves this problem by using the same traefik docker-provider logic. It reads the container labels from the local docker node and publishes them to a given redis instance. Simply configure your traefik node with a redis provider and point it to the same instance, as in the diagram above. Contents - traefik-kop - Contents - Usage - Configuration - IP Binding - bind-ip - bind-interface - traefik-kop service labels - Container Networking - Disable IP Replacement (auto-detection) - Load Balancer Merging - Service port binding - Namespaces - Namespace via label prefix - Docker API - Traefik Docker Provider Config - Redis Sentinel - Releasing - License Usage Configure traefik to use the redis provider, for example via traefik.yml : Run traefik-kop on your other nodes via docker-compose: Then add the usual labels to your target service: See also the IP Binding section below. Configuration traefik-kop can be configured via either CLI flags or environment variables. Most important are the bind-ip / bind-interface and redis-addr flags. IP Binding There are a number of ways to set the IP published to traefik. Below is the order of precedence (highest first) and detailed descriptions of each setting. 1. kop. .bind.ip label 2. kop.bind.ip label 3. Container networking IP 4. --bind-ip CLI flag (or BIN","default_branch":null,"files":null,"tree":[],"storefront":"/r/jittering","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jittering/traefik-kop/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}