@fabioplunser/epd 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -328,6 +328,27 @@ proxy:
328
328
 
329
329
  The listed variables are read from your environment and passed to Traefik.
330
330
 
331
+ ### Cloudflare DNS Automation
332
+
333
+ `epd` can automatically manage Cloudflare DNS `A` and `AAAA` records for your application domains, pointing them to all configured servers with Cloudflare CDN/proxy (orange cloud) or DNS-only (gray cloud):
334
+
335
+ ```yaml
336
+ cloudflare:
337
+ api_token: ${CLOUDFLARE_API_TOKEN}
338
+ # zone_id is optional; auto-discovered from your domain name
339
+ proxied: true # default: true (orange cloud CDN/DDoS)
340
+ ttl: 1 # 1 = Auto
341
+ auto_sync: true # sync on setup and deploy
342
+ ```
343
+
344
+ You can also inspect or sync DNS manually with the CLI:
345
+ ```bash
346
+ epd cloudflare dns status # Compare current Cloudflare DNS vs server IPs
347
+ epd cloudflare dns sync # Sync A/AAAA records to Cloudflare
348
+ epd cloudflare dns sync --dry-run
349
+ epd cloudflare dns sync --no-proxied # DNS-only (gray cloud)
350
+ ```
351
+
331
352
  ---
332
353
 
333
354
  ## Without Docker: process mode
@@ -384,6 +405,7 @@ they need Docker on their host.
384
405
  | `epd config` | The resolved configuration; `--traefik` for the proxy files |
385
406
  | `epd docker-command` | Print the exact `docker run` (or pm2) commands epd uses (including accessories) |
386
407
  | `epd lock status\|release` | The deploy lock |
408
+ | `epd cloudflare dns [sync\|status]` | Cloudflare DNS record management and auto-sync |
387
409
  | `epd remove` | Stop this app and delete its files from the servers |
388
410
 
389
411
  Global flags: `-c/--config`, `-d/--destination`, `-v/--verbose`.