You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ The architectures supported by this image are:
58
58
59
59
- Go to the [duckdns website](https://duckdns.org/), register your subdomain(s) and retrieve your token.
60
60
- Create a container with your subdomain(s) and token. If you own `user.duckdns.org`, you set `SUBDOMAINS=user`. You would NOT set a sub subdomain like `overseerr` from `overseerr.user.ducksdns.org`.
61
-
- It will update your IP with the DuckDNS service every 5 minutes (with a random jitter).
61
+
- It will update your IP with the DuckDNS service at a configurable interval (default: every 5 minutes, with a random jitter). Use the `UPDATE_INTERVAL` environment variable to customize the update frequency.
62
62
63
63
## Notice regarding automatic detection
64
64
@@ -76,7 +76,7 @@ This image can be run with a read-only container filesystem. For details please
76
76
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
77
77
78
78
>[!NOTE]
79
-
>Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
79
+
>Unless a parameter is flagged as 'optional', it is *mandatory* and a value must be provided.
80
80
81
81
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
82
82
@@ -94,6 +94,7 @@ services:
94
94
- SUBDOMAINS=subdomain1,subdomain2
95
95
- TOKEN=token
96
96
- UPDATE_IP=ipv4 #optional
97
+
- UPDATE_INTERVAL=5m #optional
97
98
- LOG_FILE=false #optional
98
99
volumes:
99
100
- /path/to/duckdns/config:/config #optional
@@ -112,6 +113,7 @@ docker run -d \
112
113
-e SUBDOMAINS=subdomain1,subdomain2 \
113
114
-e TOKEN=token \
114
115
-e UPDATE_IP=ipv4 `#optional` \
116
+
-e UPDATE_INTERVAL=5m `#optional` \
115
117
-e LOG_FILE=false `#optional` \
116
118
-v /path/to/duckdns/config:/config `#optional` \
117
119
--restart unless-stopped \
@@ -131,6 +133,7 @@ Containers are configured using parameters passed at runtime (such as those abov
131
133
|`-e SUBDOMAINS=subdomain1,subdomain2`| multiple subdomains allowed, comma separated, no spaces, if your domain is user.duckdns.org you put user, not a sub-subdomain |
132
134
|`-e TOKEN=token`| DuckDNS token |
133
135
|`-e UPDATE_IP=ipv4`| Set to `ipv6` or `ipv4` to update **only** your public IPv4/6 address. Set to `both` to update IPv6 and IPv4 address. This variable makes use of a [third-party service](#notice-regarding-automatic-detection). Omitting this variable uses DuckDNS for detection and only supports IPv4. `both` and `ipv6` modes needs [host networking](#networking-net). |
136
+
|`-e UPDATE_INTERVAL=5m`| Set the update interval. Format: `[number][m|h]` where `m` is minutes (5-60) or `h` is hours (1-24). Examples: `5m` (every 5 minutes), `30m` (every 30 minutes), `2h` (every 2 hours). Default is `5m`. |
134
137
|`-e LOG_FILE=false`| Set to `true` to log to file (also need to map /config). |
135
138
|`-v /config`| Persistent config files. Also set `LOG_FILE=true` to keep address history. |
136
139
|`--read-only=true`| Run container with a read-only filesystem. Please [read the docs](https://docs.linuxserver.io/misc/read-only/). |
@@ -299,6 +302,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
299
302
300
303
## Versions
301
304
305
+
***18.02.26:** - Add configurable update interval via UPDATE_INTERVAL environment variable.
Copy file name to clipboardExpand all lines: readme-vars.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ param_env_vars:
25
25
opt_param_usage_include_env: true
26
26
opt_param_env_vars:
27
27
- {env_var: "UPDATE_IP", env_value: "ipv4", desc: "Set to `ipv6` or `ipv4` to update **only** your public IPv4/6 address. Set to `both` to update IPv6 and IPv4 address. This variable makes use of a [third-party service](#notice-regarding-automatic-detection). Omitting this variable uses DuckDNS for detection and only supports IPv4. `both` and `ipv6` modes needs [host networking](#networking-net).", env_options: ["", "ipv4", "ipv6", "both"]}
28
+
- {env_var: "UPDATE_INTERVAL", env_value: "5m", desc: "Set the update interval. Format: `[number][m|h]` where `m` is minutes (5-60) or `h` is hours (1-24). Examples: `5m` (every 5 minutes), `30m` (every 30 minutes), `2h` (every 2 hours). Default is `5m`.", env_options: ["5m", "30m", "1h", "2h"]}
28
29
- {env_var: "LOG_FILE", env_value: "false", desc: "Set to `true` to log to file (also need to map /config).", env_options: ["false", "true"]}
29
30
opt_param_usage_include_vols: true
30
31
opt_param_volumes:
@@ -36,7 +37,7 @@ app_setup_block_enabled: true
36
37
app_setup_block: |
37
38
- Go to the [duckdns website]({{project_url}}), register your subdomain(s) and retrieve your token.
38
39
- Create a container with your subdomain(s) and token. If you own `user.duckdns.org`, you set `SUBDOMAINS=user`. You would NOT set a sub subdomain like `overseerr` from `overseerr.user.ducksdns.org`.
39
-
- It will update your IP with the DuckDNS service every 5 minutes (with a random jitter).
40
+
- It will update your IP with the DuckDNS service at a configurable interval (default: every 5 minutes, with a random jitter). Use the `UPDATE_INTERVAL` environment variable to customize the update frequency.
0 commit comments