File tree Expand file tree Collapse file tree 6 files changed +26
-26
lines changed
docs/getting-started/install
versioned_docs/version-2.21/getting-started/install Expand file tree Collapse file tree 6 files changed +26
-26
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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`
Original file line number Diff line number Diff line change 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 |
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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`
Original file line number Diff line number Diff line change 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 |
You can’t perform that action at this time.
0 commit comments