Skip to content

🗄 Service for automatic creation of Cloudflare DNS records.

License

Notifications You must be signed in to change notification settings

saturdayshdev/shdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shDNS

Service for automatic creation of Cloudflare DNS records.

Usage

shDNS works based on Docker labels of containers and the container start event:

labels:
  - shdns.type=A
  - shdns.name=test.domain.com
  - shdns.value=127.0.0.1
  - shdns.proxied=false

You can also run shDNS in a container:

services:
  app:
    container_name: shdns
    image: ghcr.io/saturdayshdev/shdns:latest
    environment:
      - DOCKER_API_VERSION=1.42
      - CLOUDFLARE_API_KEY=${CLOUDFLARE_API_KEY}
      - CLOUDFLARE_EMAIL=${CLOUDFLARE_EMAIL}
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro

Environment

You can see a list of all environment variables below.

Variable Description
CLOUDFLARE_API_KEY Global API key for Cloudflare.
CLOUDFLARE_EMAIL Email for Cloudflare.

Commits

All commits MUST contain a suitable prefix.

Team

About

🗄 Service for automatic creation of Cloudflare DNS records.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published