Hi, yeasy.
I have the question for you.
1 membersrvc:
2 image: hyperledger/fabric-membersrvc
3 ports:
4 - "7054:7054"
5 command: membersrvc
6 vp0:
7 image: hyperledger/fabric-peer
8 ports:
9 - "7050:7050"
10 - "7051:7051"
11 - "7053:7053"
12 environment:
13 - CORE_PEER_ADDRESSAUTODETECT=true
14 - CORE_VM_ENDPOINT=unix:///var/run/docker.sock
15 - CORE_LOGGING_LEVEL=DEBUG
16 - CORE_PEER_ID=vp0
17 - CORE_PEER_PKI_ECA_PADDR=membersrvc:7054
18 - CORE_PEER_PKI_TCA_PADDR=membersrvc:7054
19 - CORE_PEER_PKI_TLSCA_PADDR=membersrvc:7054
20 - CORE_SECURITY_ENABLED=true
21 - CORE_SECURITY_ENROLLID=test_vp0
22 - CORE_SECURITY_ENROLLSECRET=MwYpmSRjupbT
23 links:
24 - membersrvc
25 command: sh -c "sleep 5; peer node start --peer-chaincodedev"
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
37cd4d7eb818 cello-watchdog "python watchdog.py" 43 minutes ago Up 43 minutes watchdog
5b74299bb1d9 mongo:3.2 "/entrypoint.sh mongo" 53 minutes ago Up 53 minutes 127.0.0.1:27017-27018->27017-27018/tcp mongo
2ca266103e2c yeasy/nginx "/bin/bash /tmp/docke" 53 minutes ago Up 53 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:8080->8080/tcp, 443/tcp nginx
3527d725afd4 cello-dashbard "python dashboard.py" 53 minutes ago Up 53 minutes 8080/tcp dashbard
0102e74f1530 cello-restserver "python restserver.py" 53 minutes ago Up 53 minutes 80/tcp restserver
a68e9f1920b9 hyperledger/fabric-peer "sh -c 'sleep 5; peer" 4 days ago Up 14 minutes 0.0.0.0:7050-7051->7050-7051/tcp, 0.0.0.0:7053->7053/tcp bctest2_vp0_1
7a7491a81f9e hyperledger/fabric-membersrvc "membersrvc" 4 days ago Up 14 minutes 0.0.0.0:7054->7054/tcp bctest2_membersrvc_1
dashbard | [2016-11-27 15:36:22,487] DEBUG [resources.host] [utils.py:71 request_debug()] - path=/api/host, method=POST
dashbard | [2016-11-27 15:36:22,487] DEBUG [resources.host] [utils.py:72 request_debug()] - request args:
dashbard | [2016-11-27 15:36:22,488] DEBUG [resources.host] [utils.py:75 request_debug()] - request form:
dashbard | [2016-11-27 15:36:22,489] DEBUG [resources.host] [utils.py:77 request_debug()] - Form: daemon_url:127.0.0.1:7050
dashbard | [2016-11-27 15:36:22,489] DEBUG [resources.host] [utils.py:77 request_debug()] - Form: name:test
dashbard | [2016-11-27 15:36:22,489] DEBUG [resources.host] [utils.py:77 request_debug()] - Form: log_type:local
dashbard | [2016-11-27 15:36:22,489] DEBUG [resources.host] [utils.py:77 request_debug()] - Form: log_level:DEBUG
dashbard | [2016-11-27 15:36:22,489] DEBUG [resources.host] [utils.py:77 request_debug()] - Form: log_server:
dashbard | [2016-11-27 15:36:22,489] DEBUG [resources.host] [utils.py:77 request_debug()] - Form: capacity:1
dashbard | [2016-11-27 15:36:22,490] DEBUG [resources.host] [utils.py:78 request_debug()] - request raw body data:
dashbard | [2016-11-27 15:36:22,490] DEBUG [resources.host] [utils.py:79 request_debug()] - b''
dashbard | [2016-11-27 15:36:22,490] DEBUG [resources.host] [utils.py:80 request_debug()] - None
dashbard | [2016-11-27 15:36:22,490] DEBUG [resources.host] [host.py:57 host_create()] - name=test, daemon_url=127.0.0.1:7050, capacity=1fillup=false, schedulable=false, log=local/
dashbard | [2016-11-27 15:36:22,490] DEBUG [modules.host] [host.py:67 create()] - Create host: name=test, daemon_url=127.0.0.1:7050, capacity=1, log=local/, autofill=false, schedulable=false
dashbard | [2016-11-27 15:36:22,494] ERROR [agent.docker_swarm] [docker_swarm.py:132 check_daemon()] - Exception in check_daemon Error while fetching server API version: HTTPConnectionPool(host='127.0.0.1', port=7050): Max retries exceeded with url: /version (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fe68c407eb8>: Failed to establish a new connection: [Errno 111] Connection refused',))
dashbard | [2016-11-27 15:36:22,495] WARNING [modules.host] [host.py:83 create()] - The daemon_url is inactive:tcp://127.0.0.1:7050
dashbard | [2016-11-27 15:36:22,497] ERROR [agent.docker_swarm] [docker_swarm.py:159 detect_daemon_type()] - Error while fetching server API version: HTTPConnectionPool(host='127.0.0.1', port=7050): Max retries exceeded with url: /version (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fe68c177588>: Failed to establish a new connection: [Errno 111] Connection refused',))
dashbard | [2016-11-27 15:36:22,497] ERROR [agent.docker_swarm] [docker_swarm.py:238 setup_container_host()] - Invalid host_type=None
dashbard | [2016-11-27 15:36:22,497] WARNING [modules.host] [host.py:89 create()] - test cannot be setup
dashbard | [2016-11-27 15:36:22,498] WARNING [resources.host] [host.py:75 host_create()] - Failed to create host test
dashbard | 172.19.0.5 - - [27/Nov/2016 15:36:22] "POST /api/host HTTP/1.0" 400 -
dashbard | [2016-11-27 15:36:24,531] DEBUG [resources.index] [utils.py:71 request_debug()] - path=/, method=GET
dashbard | [2016-11-27 15:36:24,531] DEBUG [resources.index] [utils.py:72 request_debug()] - request args:
dashbard | [2016-11-27 15:36:24,531] DEBUG [resources.index] [utils.py:75 request_debug()] - request form:
dashbard | [2016-11-27 15:36:24,532] DEBUG [resources.index] [utils.py:78 request_debug()] - request raw body data:
dashbard | [2016-11-27 15:36:24,532] DEBUG [resources.index] [utils.py:79 request_debug()] - b''
dashbard | [2016-11-27 15:36:24,533] DEBUG [resources.index] [utils.py:80 request_debug()] - None
dashbard | [2016-11-27 15:36:24,534] DEBUG [modules.cluster] [cluster.py:46 list()] - List all active clusters
dashbard | [2016-11-27 15:36:24,535] DEBUG [modules.cluster] [cluster.py:50 list()] - List all released clusters
dashbard | [2016-11-27 15:36:24,536] DEBUG [modules.cluster] [cluster.py:46 list()] - List all active clusters
dashbard | [2016-11-27 15:36:24,536] DEBUG [modules.cluster] [cluster.py:46 list()] - List all active clusters