- SO Ubuntu 18.04
- NodeJs 8.11.x
- PostgreSQL 10.x
- Jq 1.5.x
- Red Blockchain Hyperledger Fabric iniciada
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creacion de chaincode nodejs | |
#Ruta: ~/hyperledger/fabric/curso-fabric/chaincode | |
mkdir notasnodejs | |
cd notasnodejs | |
npm init | |
npm install --save fabric-contract-api | |
npm install --save fabric-shim | |
#Tomar como referencia | |
#package.json -> https://raw.githubusercontent.com/jorgedison/Prueba-Hyperledger-Fabric/master/chaincode/notasnodejs/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OrdererOrgs: | |
- Name: Orderer | |
Domain: dominio.com | |
Specs: | |
- Hostname: orderer | |
PeerOrgs: | |
- Name: Org1 | |
Domain: org1.dominio.com | |
EnableNodeOUs: true | |
Template: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# Section: Organizations | |
################################################################################ | |
Organizations: | |
- &OrdererOrg | |
Name: OrdererOrg | |
ID: OrdererMSP | |
MSPDir: crypto-config/ordererOrganizations/dominio.com/msp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
# ---CHANGED--- The orderer name is taken from the name generated by the "cryptogen" certs – it indicates the orderer orgs one and only orderer | |
orderer.dominio.com: | |
# ---CHANGED--- The container name is a copy of the orderer name | |
container_name: orderer.dominio.com | |
image: hyperledger/fabric-orderer | |
environment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
peer-base: | |
image: hyperledger/fabric-peer | |
environment: | |
- CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock | |
# the following setting starts chaincode containers on the same | |
# bridge network as the peers | |
# https://docs.docker.com/compose/networking/ | |
# ---CHANGED--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
networks: | |
basic: | |
services: | |
orderer.midominio.com: | |
extends: | |
file: base/docker-compose-base.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOR %i IN (*.bak) DO "C:\Program Files\7-Zip\7z.exe" a "%~ni.7z" "%i" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### LDAP Settings | |
###! Docs: https://docs.gitlab.com/omnibus/settings/ldap.html | |
###! **Be careful not to break the indentation in the ldap_servers block. It is | |
###! in yaml format and the spaces must be retained. Using tabs will not work.** | |
gitlab_rails['ldap_enabled'] = true | |
gitlab_rails['prevent_ldap_sign_in'] = false | |
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' | |
main: # 'main' is the GitLab 'provider ID' of this LDAP server |