From b2da1c0f7688eaaf0c9ef1539b07e3f7ff190029 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Wed, 1 Dec 2021 18:17:47 +0800 Subject: [PATCH] fix install --- README.md | 6 +++--- README_CN.md | 6 +++--- docker/dns/dns.conf | 10 ++++++++++ docker/office/.gitignore | 2 -- docker/office/data/.gitignore | 1 + docker/office/logs/.gitignore | 1 + 6 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 docker/dns/dns.conf delete mode 100644 docker/office/.gitignore create mode 100644 docker/office/data/.gitignore create mode 100644 docker/office/logs/.gitignore diff --git a/README.md b/README.md index 3de2d188..21dc4e01 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ English | **[中文文档](./README_CN.md)** ```bash # 1、Clone the repository -# using ssh -git clone git@github.com:kuaifan/dootask.git -# or you can use https +# Clone projects on github git clone https://github.com/kuaifan/dootask.git +# or you can use gitee +git clone https://gitee.com/aipaw/dootask.git # 2、enter directory cd dootask diff --git a/README_CN.md b/README_CN.md index a1a32580..b249f191 100644 --- a/README_CN.md +++ b/README_CN.md @@ -15,10 +15,10 @@ ```bash # 1、克隆项目到您的本地或服务器 -# 使用ssh -git clone git@github.com:kuaifan/dootask.git -# 或者你也可以使用https +# 通过github克隆项目 git clone https://github.com/kuaifan/dootask.git +# 或者你也可以使用gitee +git clone https://gitee.com/aipaw/dootask.git # 2、进入目录 cd dootask diff --git a/docker/dns/dns.conf b/docker/dns/dns.conf new file mode 100644 index 00000000..53c1a97a --- /dev/null +++ b/docker/dns/dns.conf @@ -0,0 +1,10 @@ +[program:dns] +directory=/var/www/docker/dns +command=/etc/init.d/dnsmasq restart +numprocs=1 +autostart=true +autorestart=false +startretries=1 +user=root +redirect_stderr=true +stdout_logfile=/var/log/supervisor/%(program_name)s.log diff --git a/docker/office/.gitignore b/docker/office/.gitignore deleted file mode 100644 index cf0767a6..00000000 --- a/docker/office/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -data -logs diff --git a/docker/office/data/.gitignore b/docker/office/data/.gitignore new file mode 100644 index 00000000..355164c1 --- /dev/null +++ b/docker/office/data/.gitignore @@ -0,0 +1 @@ +*/ diff --git a/docker/office/logs/.gitignore b/docker/office/logs/.gitignore new file mode 100644 index 00000000..355164c1 --- /dev/null +++ b/docker/office/logs/.gitignore @@ -0,0 +1 @@ +*/