Refactor file paths and update cronjob for Cloudflare DDNS

This commit is contained in:
2024-09-21 20:54:28 +00:00
parent a0bf2baa1a
commit 9d187d21f5
15 changed files with 353 additions and 116 deletions

15
config/env_example.json Normal file
View File

@@ -0,0 +1,15 @@
{
"CLOUDFLARE_API_KEY": "your_cloudflare_api_key",
"CLOUDFLARE_ZONE_ID": "your_cloudflare_zone_id",
"CLOUDFLARE_DOMAIN": "example.com",
"EMAIL": "your_email@example.com",
"CLOUDFLARE_A": {
"@": true
},
"CLOUDFLARE_CNAME": {
"@": {
"www": true
}
},
"CLOUDFLARE_MX": {}
}