bigchaindb/k8s/bigchaindb/nginx_container
Takanori Hirano c5b4fa357d Problem: nginx_container document is incorrect (#2331)
Solution
Fixed nginx_container volume path and environment name.
2018-06-04 12:18:03 +02:00
..
Dockerfile Problem: BigchainDB and Tendermint inconsistencies because disjoint services (#2242) 2018-04-27 15:54:47 +02:00
README.md Problem: nginx_container document is incorrect (#2331) 2018-06-04 12:18:03 +02:00
docker_build_and_push.bash Problem: BigchainDB and Tendermint inconsistencies because disjoint services (#2242) 2018-04-27 15:54:47 +02:00
nginx.conf.template Problem: BigchainDB and Tendermint inconsistencies because disjoint services (#2242) 2018-04-27 15:54:47 +02:00
nginx_entrypoint.bash Problem: BigchainDB and Tendermint inconsistencies because disjoint services (#2242) 2018-04-27 15:54:47 +02:00

README.md

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 TM_PUB_KEY_ACCESS_PORT=''
  --publish=<nginx port for external connections>:<corresponding host port> \
  --volume=<host dir with public key>:/usr/share/nginx \
  bigchaindb/nginx_pub_key_access:<version_number>