From 58b41335e11d8af4cc757e85dd0ba97abc8fcd53 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 19 Sep 2023 14:52:21 +0800 Subject: [PATCH] docs: lock postgres version in docker compose example (#257) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 固定 Docker Compose 文档中 postgres 的版本,防止使用 latest 标签导致跨版本不兼容。 /kind documentation ```release-note None ``` --- docs/getting-started/install/docker-compose.md | 2 +- .../version-2.0/getting-started/install/docker-compose.md | 2 +- .../version-2.1/getting-started/install/docker-compose.md | 2 +- .../version-2.2/getting-started/install/docker-compose.md | 2 +- .../version-2.3/getting-started/install/docker-compose.md | 2 +- .../version-2.4/getting-started/install/docker-compose.md | 2 +- .../version-2.5/getting-started/install/docker-compose.md | 2 +- .../version-2.6/getting-started/install/docker-compose.md | 2 +- .../version-2.7/getting-started/install/docker-compose.md | 2 +- .../version-2.8/getting-started/install/docker-compose.md | 2 +- .../version-2.9/getting-started/install/docker-compose.md | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/getting-started/install/docker-compose.md b/docs/getting-started/install/docker-compose.md index e7fcf4f..0b837bd 100644 --- a/docs/getting-started/install/docker-compose.md +++ b/docs/getting-started/install/docker-compose.md @@ -86,7 +86,7 @@ import DockerArgs from "./slots/docker-args.md" # 外部访问地址,请根据实际需要修改 - --halo.external-url=http://localhost:8090/ halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.0/getting-started/install/docker-compose.md b/versioned_docs/version-2.0/getting-started/install/docker-compose.md index e84f430..15e5702 100644 --- a/versioned_docs/version-2.0/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.0/getting-started/install/docker-compose.md @@ -80,7 +80,7 @@ import DockerEnv from "./slots/docker-env.md" - HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.1/getting-started/install/docker-compose.md b/versioned_docs/version-2.1/getting-started/install/docker-compose.md index b451f35..adebf55 100644 --- a/versioned_docs/version-2.1/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.1/getting-started/install/docker-compose.md @@ -79,7 +79,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.2/getting-started/install/docker-compose.md b/versioned_docs/version-2.2/getting-started/install/docker-compose.md index 09277ba..ec0ef12 100644 --- a/versioned_docs/version-2.2/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.2/getting-started/install/docker-compose.md @@ -85,7 +85,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.3/getting-started/install/docker-compose.md b/versioned_docs/version-2.3/getting-started/install/docker-compose.md index da24d69..d7a930e 100644 --- a/versioned_docs/version-2.3/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.3/getting-started/install/docker-compose.md @@ -85,7 +85,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.4/getting-started/install/docker-compose.md b/versioned_docs/version-2.4/getting-started/install/docker-compose.md index dfb49bb..74e4655 100644 --- a/versioned_docs/version-2.4/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.4/getting-started/install/docker-compose.md @@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.5/getting-started/install/docker-compose.md b/versioned_docs/version-2.5/getting-started/install/docker-compose.md index 8f8fa8b..61d7634 100644 --- a/versioned_docs/version-2.5/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.5/getting-started/install/docker-compose.md @@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.6/getting-started/install/docker-compose.md b/versioned_docs/version-2.6/getting-started/install/docker-compose.md index 00662e4..faa0d2d 100644 --- a/versioned_docs/version-2.6/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.6/getting-started/install/docker-compose.md @@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.7/getting-started/install/docker-compose.md b/versioned_docs/version-2.7/getting-started/install/docker-compose.md index 4722e1f..7ef4214 100644 --- a/versioned_docs/version-2.7/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.7/getting-started/install/docker-compose.md @@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.8/getting-started/install/docker-compose.md b/versioned_docs/version-2.8/getting-started/install/docker-compose.md index df8de56..1a25367 100644 --- a/versioned_docs/version-2.8/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.8/getting-started/install/docker-compose.md @@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md" # 初始化的超级管理员密码 - --halo.security.initializer.superadminpassword=P@88w0rd halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: diff --git a/versioned_docs/version-2.9/getting-started/install/docker-compose.md b/versioned_docs/version-2.9/getting-started/install/docker-compose.md index 763f5f2..fdba139 100644 --- a/versioned_docs/version-2.9/getting-started/install/docker-compose.md +++ b/versioned_docs/version-2.9/getting-started/install/docker-compose.md @@ -86,7 +86,7 @@ import DockerArgs from "./slots/docker-args.md" # 外部访问地址,请根据实际需要修改 - --halo.external-url=http://localhost:8090/ halodb: - image: postgres:latest + image: postgres:15.4 container_name: halodb restart: on-failure:3 networks: