forked from timothymiller/cloudflare-ddns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
How often does the Docker container update? timothymiller#155
- added script delay to control the frequency of the script run - changed the script so it reads the config every run. This way there is no need to restart the script after changing the config.json
- Loading branch information
Showing
2 changed files
with
118 additions
and
80 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
{ | ||
"cloudflare": [ | ||
{ | ||
"authentication": { | ||
"api_token": "api_token_here", | ||
"api_key": { | ||
"api_key": "api_key_here", | ||
"account_email": "your_email_here" | ||
} | ||
}, | ||
"zone_id": "your_zone_id_here", | ||
"subdomains": [ | ||
{ | ||
"name": "", | ||
"proxied": false | ||
"cloudflare": [{ | ||
"authentication": { | ||
"api_token": "api_token_here", | ||
"api_key": { | ||
"api_key": "api_key_here", | ||
"account_email": "your_email_here" | ||
} | ||
}, | ||
{ | ||
"name": "remove_or_replace_with_your_subdomain", | ||
"proxied": false | ||
} | ||
] | ||
} | ||
], | ||
"a": true, | ||
"aaaa": true, | ||
"purgeUnknownRecords": false, | ||
"ttl": 300 | ||
} | ||
"zone_id": "your_zone_id_here", | ||
"subdomains": [{ | ||
"name": "", | ||
"proxied": false | ||
}, | ||
{ | ||
"name": "remove_or_replace_with_your_subdomain", | ||
"proxied": false | ||
} | ||
] | ||
}], | ||
"a": true, | ||
"aaaa": true, | ||
"purgeUnknownRecords": false, | ||
"ttl": 300, | ||
"script_delay": 5 | ||
} |