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
{{ message }}
This repository was archived by the owner on Jan 6, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-9
Original file line number
Diff line number
Diff line change
@@ -72,11 +72,12 @@ docker create \
72
72
-e SUBDOMAINS=www, \
73
73
-e VALIDATION=http \
74
74
-e DNSPLUGIN=cloudflare `#optional` \
75
-
-e DUCKDNSTOKEN=<token> `#optional` \
76
-
-e EMAIL=<e-mail> `#optional` \
75
+
-e PROPAGATION= `#optional` \
76
+
-e DUCKDNSTOKEN= `#optional` \
77
+
-e EMAIL= `#optional` \
77
78
-e DHLEVEL=2048 `#optional` \
78
79
-e ONLY_SUBDOMAINS=false `#optional` \
79
-
-e EXTRA_DOMAINS=<extradomains> `#optional` \
80
+
-e EXTRA_DOMAINS= `#optional` \
80
81
-e STAGING=false `#optional` \
81
82
-p 443:443 \
82
83
-p 80:80 `#optional` \
@@ -107,11 +108,12 @@ services:
107
108
- SUBDOMAINS=www,
108
109
- VALIDATION=http
109
110
- DNSPLUGIN=cloudflare #optional
110
-
- DUCKDNSTOKEN=<token> #optional
111
-
- EMAIL=<e-mail> #optional
111
+
- PROPAGATION= #optional
112
+
- DUCKDNSTOKEN= #optional
113
+
- EMAIL= #optional
112
114
- DHLEVEL=2048 #optional
113
115
- ONLY_SUBDOMAINS=false #optional
114
-
- EXTRA_DOMAINS=<extradomains> #optional
116
+
- EXTRA_DOMAINS= #optional
115
117
- STAGING=false #optional
116
118
volumes:
117
119
- </path/to/appdata/config>:/config
@@ -136,11 +138,12 @@ Container images are configured using parameters passed at runtime (such as thos
136
138
|`-e SUBDOMAINS=www,`| Subdomains you'd like the cert to cover (comma separated, no spaces) ie. `www,ftp,cloud`. For a wildcard cert, set this _exactly_ to `wildcard` (wildcard cert is available via `dns` and `duckdns` validation only) |
137
139
|`-e VALIDATION=http`| Letsencrypt validation method to use, options are `http`, `dns` or `duckdns` (`dns` method also requires `DNSPLUGIN` variable set) (`duckdns` method requires `DUCKDNSTOKEN` variable set, and the `SUBDOMAINS` variable must be either empty or set to `wildcard`). |
138
140
|`-e DNSPLUGIN=cloudflare`| Required if `VALIDATION` is set to `dns`. Options are `aliyun`, `cloudflare`, `cloudxns`, `cpanel`, `digitalocean`, `dnsimple`, `dnsmadeeasy`, `domeneshop`, `gandi`, `google`, `inwx`, `linode`, `luadns`, `nsone`, `ovh`, `rfc2136`, `route53` and `transip`. Also need to enter the credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`. |
139
-
|`-e DUCKDNSTOKEN=<token>`| Required if `VALIDATION` is set to `duckdns`. Retrieve your token from https://www.duckdns.org|
140
-
|`-e EMAIL=<e-mail>`| Optional e-mail address used for cert expiration notifications. |
141
+
|`-e PROPAGATION=`| Optionally override (in seconds) the default propagation time for the dns plugins. |
142
+
|`-e DUCKDNSTOKEN=`| Required if `VALIDATION` is set to `duckdns`. Retrieve your token from https://www.duckdns.org|
143
+
|`-e EMAIL=`| Optional e-mail address used for cert expiration notifications. |
141
144
|`-e DHLEVEL=2048`| Dhparams bit value (default=2048, can be set to `1024` or `4096`). |
142
145
|`-e ONLY_SUBDOMAINS=false`| If you wish to get certs only for certain subdomains, but not the main domain (main domain may be hosted on another machine and cannot be validated), set this to `true`|
|`-e STAGING=false`| Set to `true` to retrieve certs in staging mode. Rate limits will be much higher, but the resulting cert will not pass the browser's security test. Only to be used for testing purposes. |
145
148
|`-v /config`| All the config files including the webroot reside here. |
146
149
@@ -287,6 +290,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
287
290
288
291
## Versions
289
292
293
+
***04.05.20:** - Allow for optionally setting propagation time for dns plugins. Add repo version of `whois` to replace the built-in busybox version. Update `jail.local` to change default fail2ban ban action to more widely supported `iptables-allports`.
290
294
***13.04.20:** - Update cloudflare.ini with token info.
291
295
***11.03.20:** - Add php7-sodium.
292
296
***06.03.20:** - Implement cert renewal attempt during container start (only if the cert is already expired or will expire within the next 24 hours, otherwise it will be attempted at 2:08am).
Copy file name to clipboardExpand all lines: readme-vars.yml
+6-4
Original file line number
Diff line number
Diff line change
@@ -52,15 +52,16 @@ cap_add_param_vars:
52
52
opt_param_usage_include_env: true
53
53
opt_param_env_vars:
54
54
- { env_var: "DNSPLUGIN", env_value: "cloudflare", desc: "Required if `VALIDATION` is set to `dns`. Options are `aliyun`, `cloudflare`, `cloudxns`, `cpanel`, `digitalocean`, `dnsimple`, `dnsmadeeasy`, `domeneshop`, `gandi`, `google`, `inwx`, `linode`, `luadns`, `nsone`, `ovh`, `rfc2136`, `route53` and `transip`. Also need to enter the credentials into the corresponding ini (or json for some plugins) file under `/config/dns-conf`." }
55
-
- { env_var: "DUCKDNSTOKEN", env_value: "<token>", desc: "Required if `VALIDATION` is set to `duckdns`. Retrieve your token from https://www.duckdns.org" }
56
-
- { env_var: "EMAIL", env_value: "<e-mail>", desc: "Optional e-mail address used for cert expiration notifications." }
55
+
- { env_var: "PROPAGATION", env_value: "", desc: "Optionally override (in seconds) the default propagation time for the dns plugins." }
56
+
- { env_var: "DUCKDNSTOKEN", env_value: "", desc: "Required if `VALIDATION` is set to `duckdns`. Retrieve your token from https://www.duckdns.org" }
57
+
- { env_var: "EMAIL", env_value: "", desc: "Optional e-mail address used for cert expiration notifications." }
57
58
- { env_var: "DHLEVEL", env_value: "2048", desc: "Dhparams bit value (default=2048, can be set to `1024` or `4096`)." }
58
59
- { env_var: "ONLY_SUBDOMAINS", env_value: "false", desc: "If you wish to get certs only for certain subdomains, but not the main domain (main domain may be hosted on another machine and cannot be validated), set this to `true`" }
- { env_var: "STAGING", env_value: "false", desc: "Set to `true` to retrieve certs in staging mode. Rate limits will be much higher, but the resulting cert will not pass the browser's security test. Only to be used for testing purposes." }
- { date: "04.05.20:", desc: "Allow for optionally setting propagation time for dns plugins. Add repo version of `whois` to replace the built-in busybox version. Update `jail.local` to change default fail2ban ban action to more widely supported `iptables-allports`." }
- { date: "06.03.20:", desc: "Implement cert renewal attempt during container start (only if the cert is already expired or will expire within the next 24 hours, otherwise it will be attempted at 2:08am)." }
echo "Different validation parameters entered than what was used before. Revoking and deleting existing certificate, and an updated one will be created"
220
226
if [ "$ORIGONLY_SUBDOMAINS" = "true" ] && [ ! "$ORIGSUBDOMAINS" = "wildcard" ]; then
0 commit comments