You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the driver gRPC server listens on port `9099`. To change the port, set
@@ -84,15 +107,18 @@ To push image to github container registry:
84
107
85
108
**NOTE:** Push image to `hyperledger-labs` only after PR approval, first test it by deploying it on your fork by running (instead of last step above): `make push-image DOCKER_REGISTRY=ghcr.io/<username>`, where replace `<username>` with your git username.
86
109
87
-
### Docker-compose Deployment
110
+
### Docker-Compose Deployment
88
111
89
112
* Copy `.env.docker.template` to `.env`
90
-
-`NETWORK_NAME`: Used as suffix to corda-driver container name, i.e. `corda-driver-<network-name>` will be the name of container.
113
+
-`NETWORK_NAME`: Used as suffix to corda-driver container name, i.e. `corda-driver-<network-name>` will be the name of the container.
91
114
-`DRIVER_PORT`: Driver server port.
92
-
-`EXTERNAL_NETWORK`: is the docker network in which corda-network is running.
93
-
-`DOCKER_IMAGE_NAME`: Keep it same.
115
+
-`DRIVER_RPC_USERNAME`: RPC user registered for Driver.
116
+
-`DRIVER_RPC_PASSWORD`: Password for the above RPC user.
117
+
-`EXTERNAL_NETWORK`: Name of the docker network in which the Corda containers are deployed.
118
+
-`DOCKER_IMAGE_NAME`: _Keep this unchanged_.
94
119
-`DOCKER_TAG`: Refer here for the image tags available: [weaver-corda-driver](https://github.com/hyperledger-labs/weaver-dlt-interoperability/pkgs/container/weaver-corda-driver)
95
-
-`DOCKER_REGISTRY`: Keep it same. (replace `hyperledger-labs` with your git username if testing from your fork)
120
+
-`COMPOSE_PROJECT_NAME`: Docker project name for the Corda network to which this driver is supposed to attach. By default, the folder name of the Corda network's `docker-compose.yml`, is the project name.
121
+
-`COMPOSE_PROJECT_NETWORK`: Docker project network name for the Corda network to which this driver is supposed to attach. By default, `default` is the project network name.
96
122
* Create a Personal Access Token with read packages access in github. Refer [Creating a Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) for help.
97
123
* Run `docker login ghcr.io` and use your github username and personal access token as password.
Copy file name to clipboardExpand all lines: core/drivers/fabric-driver/readme.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,30 @@ NOTE: Minimum requirement of npm v5.0 for patch-package to apply the patch for t
16
16
17
17
### Setup
18
18
19
-
The .env (check .env.template, more information [here](#Environment-variables)) and config.json files need to be checked and updated to match the network and relay that it will be connecting to.
19
+
Create a `.env` file using `.env.template` as the base and setting suitable environment variable values (see [here](#Environment-variables)) and `config.json` files need to be checked and updated to match the network and relay that it will be connecting to.
20
20
The .env contains information related to the network and relay. The config.json contains information about the ca admin, user and its org, that is used when connecting to the network.
21
21
22
+
#### Enabling TLS
23
+
24
+
If the relay is TLS-enabled, set the following values in the `.env`:
0 commit comments