Compare commits
3 Commits
00269a5e63
...
5b6dfb77ad
Author | SHA1 | Date |
---|---|---|
bunix42 | 5b6dfb77ad | 6 years ago |
bunix42 | 16def86d61 | 6 years ago |
bunix42 | af21ec83b5 | 6 years ago |
@ -0,0 +1,9 @@
|
|||||||
|
FROM alpine
|
||||||
|
|
||||||
|
ENV DOMAINS
|
||||||
|
ENV TOKEN
|
||||||
|
ENV VERBOSE=false
|
||||||
|
|
||||||
|
COPY renew-dns.sh /etc/periodic/5min/renew-dns.sh
|
||||||
|
|
||||||
|
CMD sh -c '/etc/periodic/5min/renew-dns.sh && crond -f -d 8'
|
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
curl "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&VERBOSE=$VERBOSE"
|
Loading…
Reference in New Issue