Update README.md

This commit is contained in:
StarsL.cn 2022-07-13 03:31:44 +08:00 committed by GitHub
parent 8c17909d57
commit 475d271a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -77,10 +77,9 @@
</details>
## 💾部署说明
##### 1. Consul Manager需要依赖`Consul`请先完成Consul的部署。[Consul部署文档](docs/Consul部署说明.md)
##### 2. 使用`docker-compose`来部署Consul Manager
- 下载:`wget https://raw.githubusercontent.com/starsliao/ConsulManager/main/docker-compose.yml`
- 国内下载:`wget https://starsl.cn/static/img/docker-compose.yml`
##### 1. ConsulManager需要依赖`Consul`请先完成Consul的部署。[Consul部署文档](https://github.com/starsliao/ConsulManager/blob/main/docs/Consul%E9%83%A8%E7%BD%B2%E8%AF%B4%E6%98%8E.md)
##### 2. 使用`docker-compose`来部署ConsulManager
- 下载:`wget https://starsl.cn/static/img/docker-compose.yml`(仓库根目录下`docker-compose.yml`
- 编辑:`docker-compose.yml`修改3个环境变量
- **`consul_token`**consul的登录token[如何获取?](https://github.com/starsliao/ConsulManager/blob/main/docs/Consul%E9%83%A8%E7%BD%B2%E8%AF%B4%E6%98%8E.md#%E8%8E%B7%E5%8F%96%E7%99%BB%E5%BD%95token%E8%AE%B0%E5%BD%95secretid%E5%8D%B3%E4%B8%BAconsul%E7%99%BB%E5%BD%95%E7%9A%84token)
- **`consul_url`**consul的URL(http开头/v1要保留)