Sign inSign up

smashingtags/cf-companion

By smashingtags

•Updated 4 months ago

Auto-create Cloudflare DNS records for Docker containers with Traefik labels. By Imogen Labs.

Image
0

2.5K

smashingtags/cf-companion repository overview

⁠CF Companion

Automatically creates Cloudflare DNS records when Docker containers with Traefik Host() labels start. Deploy a container, DNS just happens.

⁠Quick Start

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⁠

Tag summary

Content type

Image

Digest

sha256:e09981914…

Size

33.1 MB

Last updated

4 months ago

docker pull smashingtags/cf-companion