refactor: move cloudflare domain list to dynamic state file
This commit is contained in:
parent
837bafba09
commit
064144134e
3 changed files with 74 additions and 11 deletions
14
README.md
14
README.md
|
|
@ -62,10 +62,18 @@ infra dns add-host "aa:bb:cc:dd:ee:ff" "10.32.70.100" "new-app"
|
|||
infra dns add-dns "api.loopaware.com" "10.32.70.100"
|
||||
```
|
||||
|
||||
### 4. Public Ingress (HAProxy)
|
||||
### 4. Cloudflare DDNS
|
||||
The list of domains to update is managed dynamically on the server.
|
||||
|
||||
```bash
|
||||
# Expose the service to the internet
|
||||
infra ingress add "app.loopaware.com" "10.32.70.100" 80
|
||||
# Add a domain to the update list
|
||||
infra cloudflare add-ddns "my-new-domain.com"
|
||||
|
||||
# List all domains being updated
|
||||
infra cloudflare list-ddns
|
||||
|
||||
# Run the update (usually via cron)
|
||||
infra cloudflare update-ddns
|
||||
```
|
||||
|
||||
## Advanced Workflows for AI Agents
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue