mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-10 18:47:45 +02:00
The docker-images where scattered across different files. For faster access i moved them to an extra folder and linked them if they're needed elsewhere. entries that where outside this folder and only contained basic documentation of the docker image where removed.
29 lines
828 B
Markdown
29 lines
828 B
Markdown
# oznu - docker-cloudflare-ddns
|
|
|
|
The official container and documentation was made by [oznu](https://github.com/oznu/docker-cloudflare-ddns).
|
|
|
|
## Environment variables
|
|
|
|
Set the following variables with the -e tag.
|
|
|
|
| Variable name | Description |
|
|
| ------------- | ------------------------------------------------------ |
|
|
| `API_KEY=` | append your API key that you retrieved from cloudflare |
|
|
| `ZONE=` | append your domain (for example `main.com`) |
|
|
| `SUBDOMAIN` | append your subdomain (for example `dynamic`) |
|
|
|
|
## Rebuild
|
|
|
|
```shell
|
|
#!/bin/sh
|
|
docker stop ddns
|
|
docker rm ddns
|
|
docker pull oznu/cloudflare-ddns
|
|
docker run \
|
|
--name ddns \
|
|
-e API_KEY=1234567890 \
|
|
-e ZONE=main.com \
|
|
-e SUBDOMAIN=dynamic \
|
|
-d oznu/cloudflare-ddns
|
|
```
|