mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
support for environmental substitution in config.json using python Template
refer comment in #35
This commit is contained in:
14
README.md
14
README.md
@@ -213,9 +213,19 @@ Do not include the base domain name in your `subdomains` config. Do not use the
|
||||
}
|
||||
```
|
||||
|
||||
### 🗣️ Call to action: Docker environment variable support
|
||||
### Docker environment variable support
|
||||
|
||||
I am looking for help adding Docker environment variable support to this project. If interested, check out [this comment](https://github.com/timothymiller/cloudflare-ddns/pull/35#issuecomment-974752476) and open a PR.
|
||||
Define environmental variables starts with `CF_DDNS_` and use it in config.json
|
||||
|
||||
For ex:
|
||||
|
||||
```json
|
||||
{
|
||||
"cloudflare": [
|
||||
{
|
||||
"authentication": {
|
||||
"api_token": "${CF_DDNS_API_TOKEN}",
|
||||
```
|
||||
|
||||
## 🐳 Deploy with Docker Compose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user