diff --git a/docs/intro.md b/docs/intro.md index 10b3bb1..c961f50 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -34,10 +34,18 @@ slug: / ## 快速开始 ```bash -docker run -it -d --name halo-next -p 8090:8090 -v ~/.halo2:/root/.halo2 --restart=unless-stopped halohub/halo:2.0.1 +docker run \ + -it -d \ + --name halo \ + -p 8090:8090 \ + -v ~/.halo2:/root/.halo2 \ + -e HALO_EXTERNAL_URL=http://localhost:8090/ \ + -e HALO_SECURITY_INITIALIZER_SUPERADMINUSERNAME=admin \ + -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ + halohub/halo:2.0 ``` -详细部署文档请查阅: +以上仅作为体验使用,详细部署文档请查阅: ## 在线体验 diff --git a/versioned_docs/version-2.0/intro.md b/versioned_docs/version-2.0/intro.md index 10b3bb1..c961f50 100644 --- a/versioned_docs/version-2.0/intro.md +++ b/versioned_docs/version-2.0/intro.md @@ -34,10 +34,18 @@ slug: / ## 快速开始 ```bash -docker run -it -d --name halo-next -p 8090:8090 -v ~/.halo2:/root/.halo2 --restart=unless-stopped halohub/halo:2.0.1 +docker run \ + -it -d \ + --name halo \ + -p 8090:8090 \ + -v ~/.halo2:/root/.halo2 \ + -e HALO_EXTERNAL_URL=http://localhost:8090/ \ + -e HALO_SECURITY_INITIALIZER_SUPERADMINUSERNAME=admin \ + -e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \ + halohub/halo:2.0 ``` -详细部署文档请查阅: +以上仅作为体验使用,详细部署文档请查阅: ## 在线体验