This website works better with JavaScript.
Home
Explore
Help
Sign In
bunix42
/
docker-duckdns
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Activity
Browse Source
inital release of dockerized curl command to update duckdns entry
master
bunix42
3 years ago
committed by
Hanjo Meinhardt
parent
00269a5e63
commit
1fca49d406
2 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
Dockerfile
+3
-0
renew-dns.sh
+ 9
- 0
Dockerfile
View File
@@ -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
- 0
renew-dns.sh
View File
@@ -0,0 +1,3 @@
#!/bin/sh
curl -s "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&VERBOSE=$VERBOSE"
Write
Preview
Loading…
Cancel
Save