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 specifyingcaddy.address
label. If you don't want a proxy directive, like when creating snippets, usecaddy
label instead ofcaddy.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 variableCADDY_DOCKER_POLLING_INTERVAL
- Windows images with support automatic caddy reload