mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2024-11-17 02:29:56 +01:00
docs for getting the key
This commit is contained in:
parent
fcf2a0e1c7
commit
76e4d3f05d
@ -3,7 +3,9 @@ This container is an adapted version of [this](https://gist.github.com/benkulber
|
||||
|
||||
## Quickstart 🚀
|
||||
|
||||
Create an `.env` file:
|
||||
1. Get yout api token [here](https://dash.cloudflare.com/) (Top right -> My Profile -> Scroll Down -> Global Api Key)
|
||||
|
||||
2. Create an `.env` file:
|
||||
|
||||
```bash
|
||||
EMAIL=my@mail.com
|
||||
@ -12,7 +14,7 @@ ZONE=example.org
|
||||
DNS_RECORD=some.example.org
|
||||
```
|
||||
|
||||
Run the container
|
||||
3. Run the container
|
||||
|
||||
```bash
|
||||
docker run -d --name ddns --restart always --env-file .env cupcakearmy/ddns-cloudflare
|
||||
@ -33,4 +35,4 @@ git clone https://github.com/CupCakeArmy/docker-ddns-cloudflare.git
|
||||
cp .sample.env .env
|
||||
# Edit the .env file with your data
|
||||
docker-compose up -d
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user