Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 566 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 566 Bytes

cfdnsupdater

The main purpose of this script is to update IP records on cloudflare DNS

Optional

  • Sends notification to a specific device via HomeAssistant
  • Updates Atlas MongoDB access list with the new IP

Docker

You can run it as a docker container by building it and mounting your config.json file to /app/config.json

Build

docker build -t dnsupdater:latest .

Run

docker run --name DNSUpdater -it dnsupdater:latest \
  -e CRONG_FREQUENCY='*/30 * * * *' \
  -e LOGLEVEL='INFO' \
  -v /my/path/to/config.json:/app/config.json