diff --git a/README.md b/README.md index 4b7eff5..272e11f 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ JWT_SECRET= INIT_TABLE=true ``` -This project primarily supports deployment on Cloudflare Pages and Docker. For Vercel, you need to set up your own database. Supported databases can be found at https://db0.unjs.io/connectors. +This project primarily supports deployment on Cloudflare Pages and Docker. For Vercel, you need to set up your own database. Supported databases can be found at https://db0.unjs.io/connectors . Cloudflare D1 database is free to use. You can manually create a database in the Cloudflare Worker control panel and add the database_id and database_name to the corresponding positions in wrangler.toml. The changes will take effect on the next deployment. diff --git a/README.zh-CN.md b/README.zh-CN.md index 7535c83..61221f2 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -21,7 +21,7 @@ JWT_SECRET= INIT_TABLE=true ``` -本项目主推 Cloudflare Pages 以及 Docker 部署, Vercel 需要你自行搞定数据库,其他支持的数据库可以查看 https://db0.unjs.io/connectors。 +本项目主推 Cloudflare Pages 以及 Docker 部署, Vercel 需要你自行搞定数据库,其他支持的数据库可以查看 https://db0.unjs.io/connectors 。 Cloudflare D1 数据库可以免费使用,在 Cloudflare Worker 控制面板里找到 D1 手动创建数据库,将 `database_id` 以及 `database_name` 填入 `wrangler.toml` 对应位置即可。下次部署时就可以生效了。 @@ -40,7 +40,7 @@ pnpm i pnpm dev ``` -你可以想要添加数据源,请关注 `shared/metadata` `shared/sources` `server/sources`,项目类型完备,结构简单,请自行探索。 +你可能想要添加数据源,请关注 `shared/metadata` `shared/sources` `server/sources`,项目类型完备,结构简单,请自行探索。 ## License diff --git a/docker-compose.yml b/docker-compose.yml index 051d4c5..1c1b2eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: newsnow: - image: ghcr.io/ourongxing/newsnow:main + image: ghcr.io/ourongxing/newsnow:latest container_name: newsnow restart: always ports: