File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ job "lego" {
1818 }
1919
2020 config {
21- image = " ghcr.io/void-linux/infra-lego:v20210923RC04 "
21+ image = " ghcr.io/void-linux/infra-lego:v20211216RC02 "
2222 }
2323
2424 env {
2525 VAULT_ADDR = " http://active.vault.service.consul:8200"
2626 ACTION = " renew"
27- DO_PROPAGATION_TIMEOUT = " 10m "
27+ DO_PROPAGATION_TIMEOUT = " 600 "
2828 }
2929
3030 template {
Original file line number Diff line number Diff line change 22
33: " ${ACTION:= renew} "
44: " ${SERVER:= https:// acme-v02.api.letsencrypt.org/ directory} "
5- : " ${DO_PROPAGATION_TIMEOUT=15m } "
5+ : " ${DO_PROPAGATION_TIMEOUT=900 } "
66
77export DO_PROPAGATION_TIMEOUT
88
@@ -25,14 +25,12 @@ mkdir -p secret/lego/data
2525handle_path secret/lego/data
2626cp -r secret/lego/data pre-run
2727
28-
29- # Need to dynamically choose whether to run or renew here. Plausibly
30- # easier to just run it once and then change the arguments.
3128lego \
3229 --accept-tos \
3330 --email maldridge@voidlinux.org \
3431 --path secret/lego/data \
3532 --dns digitalocean \
33+ --dns.resolvers 8.8.8.8:53 \
3634 --domains ' *.voidlinux.org' \
3735 --domains ' *.s.voidlinux.org' \
3836 --server $SERVER \
You can’t perform that action at this time.
0 commit comments