我在配置好自己的docker-compose.yaml文件后up,终端输出所有orderer、peer和cli都成功创建,但是docker ps后发现少了orderer和两个peer,再docker ps -a后发现几乎秒退了,我按照各种方法修改了几次后还是这情况,不知道怎么解决啊
下面是peer1.org1的配置信息:
peer1.org1.anzjointlab.com:
container_name: peer1.org1.anzjointlab.com
image: hyperledger/fabric-peer:KaTeX parse error: Expected 'EOF', got '#' at position 114: …
#̲ the following …{COMPOSE_PROJECT_NAME}_byfn
#- CORE_LOGGING_LEVEL=INFO
- CORE_LOGGING_LEVEL=DEBUG
- CORE_PEER_TLS_ENABLED=true
- CORE_PEER_GOSSIP_USELEADERELECTION=true
- CORE_PEER_GOSSIP_ORGLEADER=false
- CORE_PEER_PROFILE_ENABLED=true
- CORE_PEER_TLS_CERT_FILE=/etc/hyperledger/fabric/tls/server.crt
- CORE_PEER_TLS_KEY_FILE=/etc/hyperledger/fabric/tls/server.key
- CORE_PEER_TLS_ROOTCERT_FILE=/etc/hyperledger/fabric/tls/ca.crt
- CORE_PEER_ID=peer1.org1.anzjointlab.com
- CORE_PEER_ADDRESS=peer1.org1.anzjointlab.com:7051
- CORE_PEER_GOSSIP_EXTERNALENDPOINT=peer1.org1.anzjointlab.com:7051
- CORE_PEER_GOSSIP_BOOTSTRAP=peer0.org1.anzjointlab.com:7051
- CORE_PEER_LOCALMSPID=Org1MSP
working_dir: /opt/gopath/src/github.com/hyperledger/fabric/peer
command: peer node start
volumes:
- /var/run/:/host/var/run/
- ./crypto-config/peerOrganizations/org1.anzjointlab.com/peers/peer1.org1.anzjointlab.com/msp:/etc/hyperledger/fabric/msp
- ./crypto-config/peerOrganizations/org1.anzjointlab.com/peers/peer1.org1.anzjointlab.com/tls:/etc/hyperledger/fabric/tls
- peer1.org1.anzjointlab.com:/var/hyperledger/production
ports:
- 8051:7051
- 8053:7053
networks:
- ssn