LabSetup/roles/dock-cfddns/files/docker-compose.yml
2020-07-21 20:33:49 +02:00

16 lines
424 B
YAML

# Ansible managed
---
version: "2"
services:
cfddns:
image: hotio/cloudflare-ddns
container_name: cfddns
environment:
- CF_USER={{ secret_cloudflare.email }}
- CF_APIKEY={{ secret_cloudflare[DOMAIN].apikey }}
- CF_ZONES={{ secret_cloudflare[DOMAIN].zones }}
- CF_HOSTS=ddns.{{ DOMAIN }}
- CF_RECORDTYPES=A
- APPRISE=discord://{{ secret_discord_webook }}
restart: always