mirror of
https://github.com/cupcakearmy/docker-ddns-cloudflare.git
synced 2024-12-22 07:46:24 +00:00
finished
This commit is contained in:
parent
35de8ad1cf
commit
68d4af54b1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user