mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2024-12-21 23:36:24 +00:00
Merge branch 'master' of https://github.com/CupCakeArmy/docker-ddns-cloudflare
This commit is contained in:
commit
dc755c8589
@ -8,7 +8,9 @@ By default it runs once every minute and the IP is resolved by https://canihazip
|
||||
|
||||
1. Get yout api token [here](https://dash.cloudflare.com/) (Top right -> My Profile -> Scroll Down -> Global Api Key)
|
||||
|
||||
2. Create an `.env` file:
|
||||
2. Create the wanted DNS record (e.g. `some.example.com`). The script can only update it, not create it.
|
||||
|
||||
3. Create an `.env` file:
|
||||
|
||||
```bash
|
||||
EMAIL=my@mail.com
|
||||
@ -17,7 +19,7 @@ ZONE=example.org
|
||||
DNS_RECORD=some.example.org
|
||||
```
|
||||
|
||||
3. Run the container
|
||||
4. Run the container
|
||||
|
||||
```bash
|
||||
docker run -d --name ddns --restart always --env-file .env cupcakearmy/ddns-cloudflare
|
||||
|
Loading…
Reference in New Issue
Block a user