Browse Source

inital release of dockerized curl command to update duckdns entry

master
bunix42 4 years ago
committed by Hanjo Meinhardt
parent
commit
1fca49d406
  1. 9
      Dockerfile
  2. 3
      renew-dns.sh

9
Dockerfile

@ -0,0 +1,9 @@
FROM alpine
RUN apk add -U --no-cache curl
COPY renew-dns.sh /etc/periodic/15min/renew-dns.sh
ENV VERBOSE false
CMD /etc/periodic/15min/renew-dns.sh && crond -f -d 8

3
renew-dns.sh

@ -0,0 +1,3 @@
#!/bin/sh
curl -s "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&VERBOSE=$VERBOSE"
Loading…
Cancel
Save