- Allow filtering containers processed by
traefik-kop
using namespaces
- Use exact service name match when searching container labels (#39, thanks @damfleu)
Full Changelog: https://github.com/jittering/traefik-kop/compare/v0.13.3...v0.14
- 16beda8 build: bump go version to 1.22
- 10ab916 fix: properly stringify floats when writing to redis (resolves #25)
- build: upgraded docker client dep
- fix: NPE when creating error message from port map (fixes #24)
- fix: avoid possible NPE when resolving CNI container IP
v0.13 (2022-10-17)
- Set bind IP per-container or service
- Set traefik docker provider config (e.g.,
defaultRule
)
- Correctly set port for TCP and UDP services
- Go runtime error #20
- Default Rule #18
- Provide IP for each docker via label #17
- setting port for tcp service does not work #16
- Doesn't work with multiple services on one container #14
This release updates the upstream version of the traefik library to v2.8.4 and adds additional logging around port detection (both debug and info levels) to make it easier to see what's going on and troubleshoot various scenarios.
- 8c5a3f0 build: bump actions/cache to v3
- dad6e90 build: bump go version in github actions
- f009b84 docs: added more detail and logging around port selection
- 2f18114 test: added helloworld service for testing multiple bindings
- be636f7 build: upgraded traefik to 2.8.4 (now supports go 1.18+)
By default, traefik-kop
will listen for push events via the Docker API in
order to detect configuration changes. In some circumstances, a change may not
be pushed correctly. For example, when using healthchecks in certain
configurations, the start -> healthy
change may not be detected via push
event. As a failsafe, there is an additional polling mechanism to detect those
missed changes.
The default interval of 60 seconds should be light so as not to cause any
issues, however it can be adjusted as needed via the KOP_POLL_INTERVAL
env var
or set to 0 to disable it completely.
- 347352b build: fix goreleaser tidy
- b6447c3 build: go mod tidy
- 12ad255 docs: added poll interval to readme
- 10f7aab feat: expose providers in case anyone wants to reuse
- 5b58547 feat: add log message when explicitly disabling polling
- 02802d5 feat: configurable poll interval (default 60)
- b2ef52b feat: combine providers into single config watcher
- 07fe8aa feat: added polling provider as a workaround for healthcheck issue
- cc3854b feat: added config for changing docker endpoint
- c309d40 build: upgraded traefik lib to v2.7
- 32c2df6 test: added pihole container (with builtin healthcheck)
- e770242 docs: updated changelog
- If your container is configured to use a network-routable IP address via an
overlay network or CNI plugin, that address will override the
bind-ip
configuration when thetraefik.docker.network
label is present.
Merged pull requests:
- e0af6eb Merge pull request #7 from jittering/fix/port-detect
- e0af6eb Merge pull request #7 from jittering/fix/port-detect
- 5d029d2 feat: add support for ports published via --publish-all (closes #6)
- 5871d16 feat: log the container name/id if found
- fbd2d1d fix: Automatic port assignment not working for containers without a service
- 4bd7cd1 Merge pull request #2 from jittering/feature/detect-host-port
- e69bd05 fix: strip @docker when removing keys
docker pull ghcr.io/jittering/traefik-kop:0.8.1
- dccbf22 build: fix release step
docker pull ghcr.io/jittering/traefik-kop:0.8