This commit is contained in:
cupcakearmy 2020-07-23 12:59:48 +02:00
parent 35de8ad1cf
commit 68d4af54b1
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -14,9 +14,7 @@ Click create token. You can then use the Edit DNS Zone template. Give it a name.
![Settings](https://i.imgur.com/dLs8PHs.png) ![Settings](https://i.imgur.com/dLs8PHs.png)
2. Create the wanted DNS record (e.g. `some.example.com`). The script can only update it, not create it. 2. Create an `.env` file:
3. Create an `.env` file:
```bash ```bash
EMAIL=my@mail.com EMAIL=my@mail.com
@ -25,7 +23,7 @@ ZONE=example.org
DNS_RECORD=some.example.org DNS_RECORD=some.example.org
``` ```
4. 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