Updated Readme
This commit is contained in:
parent
1c0bb64572
commit
ee2b492851
1 changed files with 7 additions and 12 deletions
19
README.md
19
README.md
|
@ -7,23 +7,18 @@
|
||||||
The application necessarily requires a valid Cloudflare API Token.
|
The application necessarily requires a valid Cloudflare API Token.
|
||||||
Further the application must be located in the same network as the configured zones.
|
Further the application must be located in the same network as the configured zones.
|
||||||
|
|
||||||
| Environment Variable | Required | Usage |
|
The actual configuration happens in three or more files:
|
||||||
|:--------------------:|:--------:|:----------------------------------:|
|
`config.toml` contains general configuration parameters for the application
|
||||||
| CF_API_TOKEN | x | Cloudflare API Token |
|
|
||||||
| STATUS_POST_URL | | Post Endpoint for a Uptime Monitor |
|
|
||||||
*Note: Variables can be stored in a .env file*
|
|
||||||
|
|
||||||
The actual configuration happens in two or more files:
|
|
||||||
`interfaces.toml` contains all IPv6 interfaces available/used by the zone config files.
|
`interfaces.toml` contains all IPv6 interfaces available/used by the zone config files.
|
||||||
`.toml` files in `zone.d` contain settings for individual zones.
|
`.toml` files in `zone.d` contain settings for individual zones.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
*.env*
|
*config.toml*
|
||||||
```text
|
```toml
|
||||||
CF_API_TOKEN=0123456789abcdef0123456789abcdef01234
|
cf_api_token = "0123456789abcdef0123456789abcdef01234" # Cloudflare API Token
|
||||||
CHECK_INTERVAL_SECONDS=30 // Defaults to 60 if missing
|
check_interval_seconds = 30 # Defaults to 60 if missing
|
||||||
UPTIME_URL=https://example.org/uptime/id12 // Entirely optional
|
uptime_url = "https://example.org/uptime/id12" # Post Endpoint for a Uptime Monitor
|
||||||
```
|
```
|
||||||
|
|
||||||
*interfaces.toml*
|
*interfaces.toml*
|
||||||
|
|
Loading…
Reference in a new issue