Skip to content

Commit

Permalink
修改caserver的docker-compose文件。
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadigan committed Jul 13, 2018
1 parent d8efeff commit 29420e5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/docker-compose-caserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ fabric-ca-server:
- FABRIC_CA_HOME=/etc/hyperledger/fabric-ca-server
volumes:
- "/root/workspaces/fabric-ca-server:/etc/hyperledger/fabric-ca-server"
command: sh -c 'fabric-ca-server start -b admin:caserver'
command: sh -c 'fabric-ca-server start -b admin:caserver --cfg.affiliations.allowremove --cfg.identities.allowremove'
11 changes: 11 additions & 0 deletions deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@ git clone https://github.com/Hadigan/fangtu.git
mv ./bin/* /root/go/bin/
```

## ca-server配置

caserver的管理员账户密码在fangtu/config/docker-compose-caserver.yaml中指定了,请在第一次启动caserver的容器之前进行修改。否则只能通过ca-client进行修改。默认的caserver的管理员账户为==admin== ,密码为 ==caserver==。

启动ca-server容器,在/root/workspaces/下执行操作

```
docker-compose -f ./fangtu/config/docker-compose-caserver.yaml up -d
```





Expand Down

0 comments on commit 29420e5

Please sign in to comment.