mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

- Update existing docker-containers to support tendermint integration, nginx, mongodb, bigchaindb - Add tendermint configuration files for statefulset, pvc, pv and service. - Update some READMEs.
20 lines
665 B
Markdown
20 lines
665 B
Markdown
## Nginx container for hosting public key for a tendermint instance
|
|
|
|
|
|
### Step 1: Build and Push the Latest Container
|
|
Use the `docker_build_and_push.bash` script to build the latest docker image
|
|
and upload it to Docker Hub.
|
|
Ensure that the image tag is updated to a new version number to properly
|
|
reflect any changes made to the container.
|
|
|
|
### Step 2: Run the container
|
|
|
|
```
|
|
docker run \
|
|
--name=tendermint_instance_pub_key \
|
|
--env TENDERMINT_PUB_KEY_ACCESS_PORT=''
|
|
--publish=<nginx port for external connections>:<corresponding host port> \
|
|
--volume=<host dir with public key>:/tendermint_node_data \
|
|
bigchaindb/nginx_pub_key_access:<version_number>
|
|
```
|