docs: lock postgres version in docker compose example (#257)

固定 Docker Compose 文档中 postgres 的版本,防止使用 latest 标签导致跨版本不兼容。

/kind documentation

```release-note
None
```
This commit is contained in:
Ryan Wang
2023-09-19 14:52:21 +08:00
committed by GitHub
parent 4a59d44091
commit 58b41335e1
11 changed files with 11 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ import DockerArgs from "./slots/docker-args.md"
# 外部访问地址,请根据实际需要修改 # 外部访问地址,请根据实际需要修改
- --halo.external-url=http://localhost:8090/ - --halo.external-url=http://localhost:8090/
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -80,7 +80,7 @@ import DockerEnv from "./slots/docker-env.md"
- HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd - HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -79,7 +79,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -85,7 +85,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -85,7 +85,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -90,7 +90,7 @@ import DockerArgs from "./slots/docker-args.md"
# 初始化的超级管理员密码 # 初始化的超级管理员密码
- --halo.security.initializer.superadminpassword=P@88w0rd - --halo.security.initializer.superadminpassword=P@88w0rd
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks:

View File

@@ -86,7 +86,7 @@ import DockerArgs from "./slots/docker-args.md"
# 外部访问地址,请根据实际需要修改 # 外部访问地址,请根据实际需要修改
- --halo.external-url=http://localhost:8090/ - --halo.external-url=http://localhost:8090/
halodb: halodb:
image: postgres:latest image: postgres:15.4
container_name: halodb container_name: halodb
restart: on-failure:3 restart: on-failure:3
networks: networks: