Compare commits

...

2 Commits

Author SHA1 Message Date
Sitoi
6aa9d07486
Merge pull request #293 from xubiaolin/main
📝 更新(docs):替换 cdn 地址
2024-02-24 07:44:22 +08:00
xubiaolin
6553604e95 替换cdn地址 2024-02-23 17:42:47 +08:00
6 changed files with 9 additions and 9 deletions

View File

@ -52,7 +52,7 @@
],
"BAIDU":[
{
"data_url":"https://cdn.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
"data_url":"https://fastly.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
"submit_url":"http://data.zz.baidu.com/urls?site=https://sitoi.cn&token=xxxxxx",
"times":10
},

View File

@ -9,14 +9,14 @@ CRONTAB_FILE="cron/crontab_list.sh"
if [ ! -f "$CONFIG_FILE" ]; then
echo "config.json 不存在. 开始下载默认文件..."
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker/config.template.json -o $CONFIG_FILE
curl https://fastly.jsdelivr.net/gh/sitoi/dailycheckin@main/docker/config.template.json -o $CONFIG_FILE
else
echo "config.json 已存在. 跳过下载。"
fi
if [ ! -f "$CRONTAB_FILE" ]; then
echo "crontab_list.sh 不存在. 开始下载默认文件..."
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker/crontab_list.sh -o $CRONTAB_FILE
curl https://fastly.jsdelivr.net/gh/sitoi/dailycheckin@main/docker/crontab_list.sh -o $CRONTAB_FILE
else
echo "crontab_list.sh 已存在. 跳过下载。"
fi
@ -41,7 +41,7 @@ else
else
echo "docker-compose 环境存在,将使用 docker-compose 命令启动容器..."
echo "下载 docker-compose.yml 文件"
curl -O https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker/docker-compose.yml
curl -O https://fastly.jsdelivr.net/gh/sitoi/dailycheckin@main/docker/docker-compose.yml
echo "开始通过 docker-compose 命令创建容器"
docker-compose pull
docker-compose up -d

View File

@ -27,7 +27,7 @@ import { Callout } from 'nextra/components'
2. 更新 image 镜像{' '}
```bash copy
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
curl https://fastly.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
```
<Callout

View File

@ -24,7 +24,7 @@ import { FileTree } from 'nextra/components'
运行如下命令一键启动并创建服务
```bash copy
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
curl https://fastly.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
```
> 运行成功会自动创建如下目录结构, 并成功启动 docker 服务。
@ -121,7 +121,7 @@ docker exec dailycheckin sh /dailycheckin/default_task.sh
## 升级 Docker Image
```bash copy
curl https://cdn.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
curl https://fastly.jsdelivr.net/gh/sitoi/dailycheckin@main/docker_start.sh | bash
```
## 附录

View File

@ -68,7 +68,7 @@ import { Cards, Card } from 'nextra/components'
{
"BAIDU": [
{
"data_url": "https://cdn.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
"data_url": "https://fastly.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
"submit_url": "http://data.zz.baidu.com/urls?site=https://sitoi.cn&token=xxxxxx",
"times": 10
},

View File

@ -71,7 +71,7 @@ import { Steps } from 'nextra/components'
],
"BAIDU": [
{
"data_url": "https://cdn.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
"data_url": "https://fastly.jsdelivr.net/gh/Sitoi/Sitoi.github.io/baidu_urls.txt",
"submit_url": "http://data.zz.baidu.com/urls?site=https://sitoi.cn&token=xxxxxx",
"times": 10
},