mirror of
https://github.com/NewFuture/DDNS.git
synced 2026-10-21 05:26:51 +00:00
Add instructions in README
This commit is contained in:
@@ -4,6 +4,7 @@ COPY . .
|
||||
RUN pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec
|
||||
|
||||
FROM alpine:latest
|
||||
LABEL maintainer="NN708"
|
||||
COPY --from=0 /app/dist/ddns /
|
||||
RUN echo "*/5 * * * * /ddns -c /config.json" > /etc/crontabs/root
|
||||
CMD [ "crond", "-f" ]
|
||||
@@ -30,6 +30,7 @@
|
||||
- [x] 多系统兼容 
|
||||
- [x] python2 和 python3 支持 
|
||||
- [x] PIP 安装 
|
||||
- [x] Docker 支持(@NN708)
|
||||
- 域名支持:
|
||||
- [x] 多个域名支持
|
||||
- [x] 多级域名解析
|
||||
@@ -72,6 +73,8 @@
|
||||
- #### 源码运行(无任何依赖, 需 python 环境)
|
||||
1. clone 或者[下载此仓库](https://github.com/NewFuture/DDNS/archive/master.zip)并解压
|
||||
2. 运行./run.py (widnows 双击`run.bat`或者运行`python run.py`)
|
||||
- #### Docker(需要安装 Docker)
|
||||
`docker run -d -v /path/to/config.json:/config.json --network host newfuture/ddns`
|
||||
|
||||
### ② 快速配置
|
||||
|
||||
|
||||
Reference in New Issue
Block a user