
  
### ztimson/caddy-labels
  
Caddy with Docker Label Support, Cloudflare & Route53
  
[](https://git.zakscode.com/ztimson/caddy-labels/tags)
[](https://git.zakscode.com/ztimson/caddy-labels/pulls)
[](https://git.zakscode.com/ztimson/caddy-labels/issues)
 
## Table of Contents
- [ztimson/caddy-labels](#top)
    - [About](#about)
        - [Built With](#built-with)
    - [Setup](#setup)
        - [Production](#production)
        - [Development](#development)
    - [License](#license)
## About
Caddy with docker label support, Cloudflare & Route53
 - [AWS Route53](https://github.com/caddy-dns/route53)
 - [Cloudflare](https://github.com/caddy-dns/cloudflare)
 - [caddy-docker-proxy](github.com/lucaslorentz/caddy-docker-proxy)
This image will inspect container labels & translate them into a caddy config like so:
```yml
services:
  server:
    ...
    networks:
      - proxy_network
    deploy:
      labels:
        - caddy: '*.example.com'                        # *.example.com {
        - caddy.reverse_proxy: {{upstreams 80}}         #     revere_proxy