Skip to content

Instantly share code, notes, and snippets.

@valdecircarvalho
Created October 7, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save valdecircarvalho/3653a3f7299d1a59cfd6a985a41bdf0a to your computer and use it in GitHub Desktop.
Save valdecircarvalho/3653a3f7299d1a59cfd6a985a41bdf0a to your computer and use it in GitHub Desktop.
Docker compose for DDNS and Cloudflare.
version: '2'
services:
cloudflare-ddns:
image: oznu/cloudflare-ddns:armhf # use 'latest' para linux ou 'armhf' or 'aarch64' se usar um Raspberry Pi
restart: always
environment:
- EMAIL=homelaber@gmail.com # coloque o e-mail utilizado no cadastro da cloudflare
- API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # coloque sua chave de api da cloudflare
- ZONE=homelab.srv.br # coloque o seu dominio
- SUBDOMAIN=blog # coloque o registro A que voce criou na cloudflare
- PROXIED=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment