Traefik-Kop
Docker 应用程序 from martial's Repository
概述
A dynamic docker to redis to 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 in the project's README.
This is just an Unraid template for the traefik-kop docker image published by the author on GitHub.
The project has no WebUI.
See the "Propagating labels from Docker instances not on the Traefik host" section of https://www.gkr.one/blg-20240831-traefik for an example of usage (some default values are the same as the example).
Extra environment variables added to reflect the project README's "Configuration" section.
Feel free to delete environment variables you don't need in the template below.
Recommended to keep at minimum: KOP_HOSTNAME, REDIS_ADDR, BIND_IP.
要求
Traefik, Redis (or Valkey)
运行时参数
- 网络
docker- 外壳
bash- 特权
- false
模板配置
Docker socketPathro
Docker Socket (read-only) access to find the docker containers and labels automatically..
- 目标
- /var/run/docker.sock
- 默认值
- /var/run/docker.sock
- 价值
- /var/run/docker.sock
KOP_HOSTNAMEVariable
Hostname to identify this node in redis
- 默认值
- foo
- 价值
- foo
REDIS_ADDRVariable
Redis address
- 默认值
- 192.168.222.11:6379
- 价值
- 192.168.222.11:6379
BIND_IPVariable
IP address to bind services to
- 默认值
- 192.168.222.99
- 价值
- 192.168.222.99
REDIS_USERVariable
Redis user
- 默认值
- default
- 价值
- default
REDIS_PASSVariable
Redis password (if needed, delete if not)
REDIS_DBVariable
Redis DB number
- 默认值
- 0
- 价值
- 0
REDIS_TTLVariable
Redis TTL (in seconds)
- 默认值
- 0
- 价值
- 0
KOP_POLL_INTERVALVariable
Poll interval for refreshing container list
- 默认值
- 60
- 价值
- 60
详细信息
存储库
ghcr.io/jittering/traefik-kop:latest最后更新2026-05-31
初见2025-12-05
在Unraid 上运行 Traefik-Kop 。
Traefik-Kop 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。