mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2024-11-17 02:29:56 +01:00
Update README.md
This commit is contained in:
parent
5e05c384ec
commit
9d01b6100a
@ -5,7 +5,9 @@ This container is an adapted version of [this](https://gist.github.com/benkulber
|
|||||||
|
|
||||||
1. Get yout api token [here](https://dash.cloudflare.com/) (Top right -> My Profile -> Scroll Down -> Global Api Key)
|
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, now create it.
|
||||||
|
|
||||||
|
3. Create an `.env` file:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
EMAIL=my@mail.com
|
EMAIL=my@mail.com
|
||||||
@ -14,7 +16,7 @@ ZONE=example.org
|
|||||||
DNS_RECORD=some.example.org
|
DNS_RECORD=some.example.org
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Run the container
|
4. Run the container
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d --name ddns --restart always --env-file .env cupcakearmy/ddns-cloudflare
|
docker run -d --name ddns --restart always --env-file .env cupcakearmy/ddns-cloudflare
|
||||||
|
Loading…
Reference in New Issue
Block a user