Browse Source

Update README.md

pull/24/head
StarsL.cn 3 years ago committed by GitHub
parent
commit
11b8447990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      README.md

8
README.md

@ -93,11 +93,9 @@ consul acl bootstrap
### 2. 部署Consul Manager ### 2. 部署Consul Manager
##### 使用docker-compose来部署 ##### 使用docker-compose来部署
wget https://raw.githubusercontent.com/starsliao/ConsulManager/main/docker-compose.yml - 下载:`wget https://raw.githubusercontent.com/starsliao/ConsulManager/main/docker-compose.yml`
- 编辑`docker-compose.yaml`文件,修改3个环境变量:
编辑docker-compose.yaml文件,修改传入的3个环境变量: - **consul的`token`,consul的`URL`(/v1要保留),登录Consul Manager的`密码`**
- **consul的`token`,consul的`URL`(/v1要保留),登录Consul Manager的`密码`**
- 启动:`docker-compose pull && docker-compose up -d` - 启动:`docker-compose pull && docker-compose up -d`
- 访问:`http://{IP}:1026` - 访问:`http://{IP}:1026`
--- ---

Loading…
Cancel
Save