本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
bunix42
/
docker-duckdns
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
0
活動
瀏覽代碼
inital release of dockerized curl command to update duckdns entry
master
bunix42
2 年之前
committed by
Hanjo Meinhardt
父節點
00269a5e63
當前提交
1fca49d406
共有
2 個檔案被更改
,包括
12 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
Dockerfile
+3
-0
renew-dns.sh
+ 9
- 0
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
- 0
renew-dns.sh
查看文件
@@ -0,0 +1,3 @@
#!/bin/sh
curl -s "https://www.duckdns.org/update?domains=$DOMAINS&token=$TOKEN&VERBOSE=$VERBOSE"
Write
Preview
Loading…
取消
儲存