Custom Caddy build using Consul for certificates storage and reading docker labels for on-the-fly configuration.
Plugins shipped with the build:
- Caddy configuration from docker labels (use Caddy as an ingress controller): Caddy-Docker-Proxy
- Consul TLS K/V (stores certificates in a distributed system): caddy-tlsconsul
- Rate limit (limits requests using caddy directives): caddy-ratelimit.
- Cache system (simple caching using caddy directive): cdp-cache.
- TCP/UDP Layer (supports l4 layer): caddy-l4.
- Caddy Transform Encoder Module (enables custom logging format: fail2ban, apache2, nginx, etc): caddy-transform-encoder.
Based on the work of https://p1ngouin.com/posts/why-i-migrated-from-traefik-to-caddy.
docker run -d -p 80:80 \
-v $PWD/index.html:/usr/share/caddy/index.html \
-v caddy_data:/data \
registry.gitlab.com/youtous/caddy-consul-docker
💗 Healtcheck built-in.