We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue during integrate explorer with network.
explorer
###content of explorer docker-compose file : SPDX-License-Identifier: Apache-2.0 version: '2.1'
volumes: pgdata: walletstore:
networks: pharma: name: network_pharmacy external: true
services:
explorerdb.pharma-network.com: image: hyperledger/explorer-db:1.1.6 container_name: explorerdb.pharma-network.com hostname: explorerdb.pharma-network.com environment:
DATABASE_DATABASE=fabricexplorer DATABASE_USERNAME=hppoc DATABASE_PASSWORD=password healthcheck: test: "pg_isready -h localhost -p 5432 -q -U postgres" interval: 30s timeout: 10s retries: 5 volumes: pgdata:/var/lib/postgresql/data networks: pharma explorer.pharma-network.com: image: hyperledger/explorer:1.1.6 container_name: explorer.pharma-network.com hostname: explorer.pharma-network.com environment:
DATABASE_HOST=explorerdb.pharma-network.com DATABASE_DATABASE=fabricexplorer DATABASE_USERNAME=hppoc DATABASE_PASSWD=password LOG_LEVEL_APP=debug LOG_LEVEL_DB=debug LOG_LEVEL_CONSOLE=info LOG_CONSOLE_STDOUT=true DISCOVERY_AS_LOCALHOST=false volumes: ./config.json:/opt/explorer/app/platform/fabric/config.json ./connection-profile:/opt/explorer/app/platform/fabric/connection-profile ./crypto-config:/tmp/crypto walletstore:/opt/explorer/wallet ports: "8080:8080" depends_on: explorerdb.pharma-network.com: condition: service_healthy networks: pharma ###connection profile content ::
{ "name": "network_pharmacy", "version": "1.0.0", "client": { "tlsEnable": true, "adminCredential": { "id": "admin", "password": "adminpw" }, "enableAuthentication": true, "organization": "retailerMSP", "connection": { "timeout": { "peer": { "endorser": "300" }, "orderer": "300" } } }, "channels": { "pharmachannel": { "peers": { "peer0.retailer.pharma-network.com": {} } } }, "organizations": { "retailerMSP": { "mspid": "retailerMSP", "adminPrivateKey": { "path": "/tmp/crypto/peerOrganizations/retailer.pharma-network.com/users/[email protected]/msp/keystore/priv_sk" }, "peers": [ "peer0.retailer.pharma-network.com" ], "signedCert": { "path": "/tmp/crypto/peerOrganizations/retailer.pharma-network.com/users/[email protected]/msp/signcerts/[email protected]" } } }, "peers": { "peer0.retailer.pharma-network.com": { "tlsCACerts": { "path": "/tmp/crypto/peerOrganizations/retailer.pharma-network.com/peers/peer0.retailer.pharma-network.com/tls/ca.crt" }, "url": "grpc://peer0.retailer.pharma-network.com:7051" } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
issue during integrate explorer with network.
explorer
###content of explorer docker-compose file :
SPDX-License-Identifier: Apache-2.0
version: '2.1'
volumes:
pgdata:
walletstore:
networks:
pharma:
name: network_pharmacy
external: true
services:
explorerdb.pharma-network.com:
image: hyperledger/explorer-db:1.1.6
container_name: explorerdb.pharma-network.com
hostname: explorerdb.pharma-network.com
environment:
DATABASE_DATABASE=fabricexplorer
DATABASE_USERNAME=hppoc
DATABASE_PASSWORD=password
healthcheck:
test: "pg_isready -h localhost -p 5432 -q -U postgres"
interval: 30s
timeout: 10s
retries: 5
volumes:
pgdata:/var/lib/postgresql/data
networks:
pharma
explorer.pharma-network.com:
image: hyperledger/explorer:1.1.6
container_name: explorer.pharma-network.com
hostname: explorer.pharma-network.com
environment:
DATABASE_HOST=explorerdb.pharma-network.com
DATABASE_DATABASE=fabricexplorer
DATABASE_USERNAME=hppoc
DATABASE_PASSWD=password
LOG_LEVEL_APP=debug
LOG_LEVEL_DB=debug
LOG_LEVEL_CONSOLE=info
LOG_CONSOLE_STDOUT=true
DISCOVERY_AS_LOCALHOST=false
volumes:
./config.json:/opt/explorer/app/platform/fabric/config.json
./connection-profile:/opt/explorer/app/platform/fabric/connection-profile
./crypto-config:/tmp/crypto
walletstore:/opt/explorer/wallet
ports:
"8080:8080"
depends_on:
explorerdb.pharma-network.com:
condition: service_healthy
networks:
pharma
###connection profile content ::
{
"name": "network_pharmacy",
"version": "1.0.0",
"client": {
"tlsEnable": true,
"adminCredential": {
"id": "admin",
"password": "adminpw"
},
"enableAuthentication": true,
"organization": "retailerMSP",
"connection": {
"timeout": {
"peer": {
"endorser": "300"
},
"orderer": "300"
}
}
},
"channels": {
"pharmachannel": {
"peers": {
"peer0.retailer.pharma-network.com": {}
}
}
},
"organizations": {
"retailerMSP": {
"mspid": "retailerMSP",
"adminPrivateKey": {
"path": "/tmp/crypto/peerOrganizations/retailer.pharma-network.com/users/[email protected]/msp/keystore/priv_sk"
},
"peers": [
"peer0.retailer.pharma-network.com"
],
"signedCert": {
"path": "/tmp/crypto/peerOrganizations/retailer.pharma-network.com/users/[email protected]/msp/signcerts/[email protected]"
}
}
},
"peers": {
"peer0.retailer.pharma-network.com": {
"tlsCACerts": {
"path": "/tmp/crypto/peerOrganizations/retailer.pharma-network.com/peers/peer0.retailer.pharma-network.com/tls/ca.crt"
},
"url": "grpc://peer0.retailer.pharma-network.com:7051"
}
}
}
The text was updated successfully, but these errors were encountered: