Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/getting-started/install/docker-compose.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import DockerRegistryList from "./slots/_docker-registry-list.md"
:::

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

Expand Down
12 changes: 6 additions & 6 deletions docs/getting-started/install/jar-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ title: 使用 JAR 文件部署

配置对应关系:

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

:::info
- HOST:数据库服务地址,如 `localhost`
Expand Down
12 changes: 6 additions & 6 deletions docs/getting-started/install/slots/_docker-args.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

数据库配置:

| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
| ----------- | ---------------------------------------------------------------------------------- | -------------------------- |
| PostgreSQL | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
| 链接方式 | 链接地址格式 | `spring.sql.init.platform` |
| ------------------ | ---------------------------------------------------------------------------------- | -------------------------- |
| PostgreSQL(推荐) | `r2dbc:pool:postgresql://{HOST}:{PORT}/{DATABASE}` | postgresql |
| MySQL | `r2dbc:pool:mysql://{HOST}:{PORT}/{DATABASE}` | mysql |
| MariaDB | `r2dbc:pool:mariadb://{HOST}:{PORT}/{DATABASE}` | mariadb |
| H2 Database | `r2dbc:h2:file:///${halo.work-dir}/db/halo-next?MODE=MySQL&DB_CLOSE_ON_EXIT=FALSE` | h2 |
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import DockerRegistryList from "./slots/_docker-registry-list.md"
:::

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

Expand Down
12 changes: 6 additions & 6 deletions versioned_docs/version-2.21/getting-started/install/jar-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ title: 使用 JAR 文件部署

配置对应关系:

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

:::info
- HOST:数据库服务地址,如 `localhost`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

数据库配置:

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