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/
halodb:
image: postgres:latest
image: postgres:15.4
container_name: halodb
restart: on-failure:3
networks:

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save