-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.env
78 lines (78 loc) · 3.39 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
FABKIT_VERSION=0.2.0
########################################
# PATHS
########################################
# directory containing all the deliverables (e.g. chaincode tarballs/archives)
FABKIT_DIST_PATH="${FABKIT_ROOT}/dist"
# directory containing all required configuration files and artifacts related to the network
FABKIT_NETWORK_PATH="${FABKIT_ROOT}/network"
# directory containing the configuration for the network
FABKIT_CONFIG_PATH="${FABKIT_NETWORK_PATH}/config"
# directory containing the certificates and keys for all the organizations and components of the network
# import this same path into client applications (sdk) in order to connect to the running network
FABKIT_CRYPTOS_PATH="${FABKIT_NETWORK_PATH}/cryptos"
# local absolute chaincode path used for testing, vendoring dependencies and mounting to cli
FABKIT_CHAINCODE_PATH="${FABKIT_ROOT}/chaincodes"
# path where chaincode will be mounted in cli
FABKIT_CHAINCODE_REMOTE_PATH="/opt/gopath/src/fabkit/chaincodes"
# fabric peer base path to mount all artifacts
FABKIT_PEER_REMOTE_BASEPATH="/opt/gopath/src/github.com/hyperledger/fabric/peer"
# remote location where the channel configuration fukes will be stored to
FABKIT_CHANNELS_CONFIG_PATH="${FABKIT_PEER_REMOTE_BASEPATH}/channels"
# logfile to collect additional error details and stacktrace
FABKIT_LOGFILE="${FABKIT_ROOT}/.log"
# file which contains all FABKIT_ variables used during the latest saved session
FABKIT_LASTRUN="${FABKIT_ROOT}/.lastrun"
########################################
# NETWORK CONFIG
########################################
# configuration should be present in configtx.yaml > Profiles
FABKIT_CONFIGTX_PROFILE_NETWORK=OneOrgOrdererGenesis
FABKIT_CONFIGTX_PROFILE_CHANNEL=OneOrgChannel
# default number of organizations
FABKIT_ORGS=1
# default org msp
FABKIT_ORG_MSP=Org1MSP
# default chaincode id
FABKIT_CHAINCODE_NAME=mygocc
# default chaincode version
FABKIT_CHAINCODE_VERSION=1.0
# default channel id
FABKIT_CHANNEL_NAME=mychannel
# default orderering service channel id
FABKIT_SYS_CHANNEL=orderer-system-channel
# default orderer address
FABKIT_ORDERER_ADDRESS=orderer.example.com:7050
# enable/disable encrypted communication between components
FABKIT_TLS_ENABLED=true
# run the setup in debug mode (verbose logging)
FABKIT_DEBUG=false
########################################
# DOCKER
########################################
# align this value with both fabric network and client
FABKIT_DOCKER_NETWORK=fabkit
FABKIT_CHAINCODE_UTIL_CONTAINER=fabric-cli
# if version not passed in, default to latest released version
FABKIT_FABRIC_VERSION=2.3.3
FABKIT_FABRIC_CA_VERSION=1.5.2
# current version of thirdparty images (couchdb, kafka and zookeeper) released
FABKIT_FABRIC_THIRDPARTY_IMAGE_VERSION=0.4.22
FABKIT_COUCHDB_IMAGE="couchdb:3.1.1"
########################################
# HYPERLEDGER EXPLORER
########################################
FABKIT_EXPLORER_PATH="${FABKIT_ROOT}/explorer"
# todo: set to fixed version. it does not work for apple silicon (workaround: build locally)
FABKIT_EXPLORER_VERSION=latest
FABKIT_GRAFANA_VERSION=8.2.2
FABKIT_PROMETHEUS_VERSION=v2.30.3
########################################
# HYPERLEDGER FABRIC CONSOLE
########################################
FABKIT_CONSOLE_PATH="${FABKIT_ROOT}/console"
FABKIT_CONSOLE_VERSION=latest
########################################
# THIRD PARTY
########################################
FABKIT_DOCKER_IMAGE="everledgerio/fabkit:${FABKIT_VERSION}"