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

View File

@ -3,7 +3,9 @@ This container is an adapted version of [this](https://gist.github.com/benkulber
## Quickstart 🚀 ## 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 ```bash
EMAIL=my@mail.com EMAIL=my@mail.com
@ -12,7 +14,7 @@ ZONE=example.org
DNS_RECORD=some.example.org DNS_RECORD=some.example.org
``` ```
Run the container 3. 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
@ -33,4 +35,4 @@ git clone https://github.com/CupCakeArmy/docker-ddns-cloudflare.git
cp .sample.env .env cp .sample.env .env
# Edit the .env file with your data # Edit the .env file with your data
docker-compose up -d docker-compose up -d
``` ```