使用 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 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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"
撰写
预览
正在加载...
取消
保存