mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-22 02:45:28 +00:00
docs: lock postgres version in docker compose example (#257)
固定 Docker Compose 文档中 postgres 的版本,防止使用 latest 标签导致跨版本不兼容。 /kind documentation ```release-note None ```
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user