Auto-create Cloudflare DNS records for Docker containers with Traefik labels. By Imogen Labs.
2.5K
Automatically creates Cloudflare DNS records when Docker containers with Traefik Host() labels start. Deploy a container, DNS just happens.
services:
cf-companion:
image: smashingtags/cf-companion:latest
container_name: cf-companion
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- CF_TOKEN=your-cloudflare-api-token
- TARGET_DOMAIN=your-server.example.com
- DOMAIN1=example.com
- DOMAIN1_ZONE_ID=your-zone-id
- DOMAIN1_PROXIED=TRUE
- TRAEFIK_VERSION=2
networks:
- proxy
networks:
proxy:
external: true
Full docs: https://github.com/smashingtags/cf-companion
By Imogen Labs | Discord | Ko-fi
Content type
Image
Digest
sha256:e09981914…
Size
33.1 MB
Last updated
4 months ago
docker pull smashingtags/cf-companion