mirror of https://github.com/halo-dev/halo
[release-2.1] Refine docker-run command in README.md (#3099)
This is an automated cherry-pick of #3098 /assign JohnNiang ```release-note None ```pull/3183/head
parent
6fc27c0b8c
commit
6dfc2f46e0
|
@ -29,10 +29,10 @@ docker run \
|
||||||
--name halo \
|
--name halo \
|
||||||
-p 8090:8090 \
|
-p 8090:8090 \
|
||||||
-v ~/.halo2:/root/.halo2 \
|
-v ~/.halo2:/root/.halo2 \
|
||||||
-e HALO_EXTERNAL_URL=http://localhost:8090/ \
|
halohub/halo:2.1 \
|
||||||
-e HALO_SECURITY_INITIALIZER_SUPERADMINUSERNAME=admin \
|
--halo.external-url=http://localhost:8090/ \
|
||||||
-e HALO_SECURITY_INITIALIZER_SUPERADMINPASSWORD=P@88w0rd \
|
--halo.security.initializer.superadminuser=admin \
|
||||||
halohub/halo:2.0
|
--halo.security.initializer.superadminpassword=P@88w0rd
|
||||||
```
|
```
|
||||||
|
|
||||||
以上仅作为体验使用,详细部署文档请查阅:<https://docs.halo.run/getting-started/install/docker-compose>
|
以上仅作为体验使用,详细部署文档请查阅:<https://docs.halo.run/getting-started/install/docker-compose>
|
||||||
|
|
Loading…
Reference in New Issue