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

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

/kind documentation

```release-note
None
```
wan92hen-patch-1
Ryan Wang 1 year ago committed by GitHub
parent 4a59d44091
commit 58b41335e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

@ -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:

@ -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:

@ -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:

@ -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:

@ -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:

@ -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:

@ -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:

@ -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:

@ -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:

@ -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:

Loading…
Cancel
Save