Created
October 7, 2019 15:09
-
-
Save valdecircarvalho/3653a3f7299d1a59cfd6a985a41bdf0a to your computer and use it in GitHub Desktop.
Docker compose for DDNS and Cloudflare.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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