docs for getting the key

This commit is contained in:
Nicco 2019-01-22 13:12:50 +01:00 committed by GitHub
parent fcf2a0e1c7
commit 76e4d3f05d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -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
```
```