Skip to content

Releases: lucaslorentz/caddy-docker-proxy

v0.3.4

15 Dec 10:30
Compare
Choose a tag to compare

Changes:

  • Use running tasks IPs for services proxying when proxy-service-tasks is enabled. That allows caddy to better load balance all service replicas.
  • Update to caddy 1.0.4

Changes abandoned since beta versions:

  • Make proxy-service-tasks "true" by default.

v0.3.3

11 Nov 20:26
18452c9
Compare
Choose a tag to compare

New features:

  • Allow disabling network validation with CLI option docker-validate-network or env variable CADDY_DOCKER_VALIDATE_NETWORK. Useful when connecting to remote docker hosts, which causes network validation to fail.

v0.3.2

25 Aug 19:12
Compare
Choose a tag to compare

Isolate plugin go module

v0.3.1

17 Aug 02:25
f350ca4
Compare
Choose a tag to compare

Changes:

  • Update to caddy 1.0.3 (@ptman)
  • Update to alpine 10.3 (@ptman)
  • Update pkg dependencies

v0.3.0

02 May 06:43
23a6c38
Compare
Choose a tag to compare

Breaking changes:

  • Caddy telemetry is off by default now. You can enable telemetry by setting environment variable CADDY_ENABLE_TELEMETRY to true. Or with CLI option -enable-telemetry.

Changes:

  • Update to caddy 1.0
  • Migrate to go modules

New features:

  • Allow specifying a caddyfile that should be included in final caddyfile. CLI argument docker-caddyfile-path or env variable CADDY_DOCKER_CADDYFILE_PATH
  • Add DNS plugins to docker image: azure, cloudflare, digitalocean, godaddy, googlecloud, route53
  • Add http plugins to docker image: cache

v0.2.0

04 Oct 21:28
Compare
Choose a tag to compare

Breaking changes:

  • Add default port behavior. When caddy.targetport is not specified the proxy directive is generated without port and caddy defaults it based on protocol (http: 80, https: 443). That means proxy directives are now generated just by specifying caddy.address label. If you don't want a proxy directive, like when creating snippets, use caddy label instead of caddy.address.

New features:

  • ARM arm32v6 images
  • Add label caddy.targetprotocol to specify the protocol that should be added to proxy directive
  • Avoid using ingress networks ips on proxies
  • Validate new caddyfile before replacing the current one, that improves stability when configs are wrong
  • Add configuration to change the label prefix (caddy by default). That allows you to split your cluster into multiple caddy groups. Contribution from @jtyr
  • Avoid errors when swarm is not available by skipping swarm objects inspection
  • Sort websites by their names. That makes sure caddyfile snippets are always inserted before normal websites. Contribution from @jtyr
  • Add swarm configs content to the beginning of caddyfiles. You have to add a label with the label prefix to your swarm config.
  • Increase polling interval to 30 seconds and make it configurable through CLI option docker-polling-interval or env variable CADDY_DOCKER_POLLING_INTERVAL
  • Windows images with support automatic caddy reload

v0.1.3

02 Jun 08:36
bffc5ba
Compare
Choose a tag to compare
  • Fix caddyfile content being generated for labels not starting with caddy or caddy_#, like caddy_version
  • Validate if caddy proxy is on same network as service or container and use the correct container IP address in case of multiple networks
  • Update Caddy to 0.11.0
  • Add CLI option to proxy service tasks instead of service VIP: -proxy-service-tasks

v0.1.2

18 Mar 15:07
e212db9
Compare
Choose a tag to compare
  • Delay loader initialization until caddy calls it
  • Add docker api version negotiation
  • Add docker events monitoring for almost instantly Caddyfile update
  • Allows fallback to other Caddy loaders if connection to docker fails

v0.1.1

01 Mar 19:16
cc51d78
Compare
Choose a tag to compare

Fix numbered suffix removal to allow directives with underline

v0.1.0

24 Feb 14:07
Compare
Choose a tag to compare

Initial release