Skip to content

Commit 0accb42

Browse files
authored
Highlight PostgreSQL as recommended database in docs (#509)
```release-note None ```
1 parent bbb81f1 commit 0accb42

File tree

6 files changed

+26
-26
lines changed

6 files changed

+26
-26
lines changed

docs/getting-started/install/docker-compose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import DockerRegistryList from "./slots/_docker-registry-list.md"
4646
:::
4747

4848
<Tabs queryString="current">
49-
<TabItem value="halo-postgresql" label="Halo + PostgreSQL" default>
49+
<TabItem value="halo-postgresql" label="Halo + PostgreSQL(推荐)" default>
5050
```yaml {26-32,46} title="~/halo/docker-compose.yaml"
5151
version: "3"
5252

docs/getting-started/install/jar-file.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ title: 使用 JAR 文件部署
117117

118118
配置对应关系:
119119

120-
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
121-
| ----------- | ---------------------------------------------------------------------------------- | -------------------------- |
122-
| PostgreSQL | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
123-
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
124-
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
125-
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
120+
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
121+
| ------------------ | ---------------------------------------------------------------------------------- | -------------------------- |
122+
| PostgreSQL(推荐) | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
123+
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
124+
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
125+
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
126126

127127
:::info
128128
- HOST:数据库服务地址,如 `localhost`

docs/getting-started/install/slots/_docker-args.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
数据库配置:
1010

11-
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
12-
| ----------- | ---------------------------------------------------------------------------------- | -------------------------- |
13-
| PostgreSQL | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
14-
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
15-
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
16-
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
11+
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
12+
| ------------------ | ---------------------------------------------------------------------------------- | -------------------------- |
13+
| PostgreSQL(推荐) | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
14+
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
15+
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
16+
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |

versioned_docs/version-2.21/getting-started/install/docker-compose.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import DockerRegistryList from "./slots/_docker-registry-list.md"
4646
:::
4747

4848
<Tabs queryString="current">
49-
<TabItem value="halo-postgresql" label="Halo + PostgreSQL" default>
49+
<TabItem value="halo-postgresql" label="Halo + PostgreSQL(推荐)" default>
5050
```yaml {26-32,46} title="~/halo/docker-compose.yaml"
5151
version: "3"
5252

versioned_docs/version-2.21/getting-started/install/jar-file.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ title: 使用 JAR 文件部署
117117

118118
配置对应关系:
119119

120-
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
121-
| ----------- | ---------------------------------------------------------------------------------- | -------------------------- |
122-
| PostgreSQL | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
123-
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
124-
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
125-
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
120+
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
121+
| ------------------ | ---------------------------------------------------------------------------------- | -------------------------- |
122+
| PostgreSQL(推荐) | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
123+
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
124+
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
125+
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
126126

127127
:::info
128128
- HOST:数据库服务地址,如 `localhost`

versioned_docs/version-2.21/getting-started/install/slots/_docker-args.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
数据库配置:
1010

11-
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
12-
| ----------- | ---------------------------------------------------------------------------------- | -------------------------- |
13-
| PostgreSQL | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
14-
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
15-
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
16-
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
11+
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
12+
| ------------------ | ---------------------------------------------------------------------------------- | -------------------------- |
13+
| PostgreSQL(推荐) | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
14+
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
15+
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
16+
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |

0 commit comments

Comments
 (0)