Created
February 13, 2022 03:15
-
-
Save scyto/e7b022a02554e0e3bb2751b718eeda2d to your computer and use it in GitHub Desktop.
Revisions
-
scyto created this gist
Feb 13, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ ## Description This template runs my cloudflare dynamic DNS updater. It adjust the default container cron job from 5 minutes to 1 minute because i have failover WAN ports. ## State Considerations for SWARM none, this container can be cofigured entirely by env vars so i use those ## Network Considerations none, this need no special port mappings or other considerations consider using an secret to store the API ## Placement Considerations None, by default this template will result in a single replica ``` version: '3' services: cloudflare-ddns: image: oznu/cloudflare-ddns:latest restart: always environment: - API_KEY=<redacted> - ZONE=mydomain.com # - SUBDOMAIN=subdomain - PROXIED=false - CRON=*/1 * * * * ```