mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-06-17 10:03:20 +02:00
Addressing comments
- Update README.md to remove old deployment model. - Update version number of nginx_3scale.
This commit is contained in:
parent
a1fe3d27ce
commit
598d925dd4
|
@ -58,39 +58,3 @@ reflect any changes made to the container.
|
|||
corresponding private key to the folder
|
||||
`/usr/local/openresty/nginx/conf/ssl/`. Name the pem-encoded certificate as
|
||||
`cert.pem` and the private key as `cert.key`.
|
||||
|
||||
|
||||
## Deployment terminology
|
||||
We currently use the terms `frontend`, `backend`, `upstream` in our code and
|
||||
configuration. This diagram should help understand the various terms.
|
||||
|
||||
The final goal is to have a deployment that looks like this:
|
||||
|
||||
```
|
||||
+------------+ +------------+
|
||||
| | | |
|
||||
+-----------------------------+----+ N | +---------------------+------+ |
|
||||
| BigchainDB Frontend Port | G | | BigchainDB Backend Port | |
|
||||
| | I | | | |
|
||||
|[port number exposed globally | N | +--------> |[port where BDB instance | |
|
||||
| for backend BDB cluster services]| X | | | listens/waits for requests]| |
|
||||
+-----------------------------+----+ | | +---------------------+------+ |
|
||||
| G | | | |
|
||||
+-----------------------------+----+ A | | | BigchainDB |
|
||||
| Health Check Port | T | | | Backend |
|
||||
| | E | | | Host |
|
||||
| [port number exposed to the LB | W | | +------------+
|
||||
| for health checks] | A | |
|
||||
+-----------------------------+----+ Y | | +------------+
|
||||
| | | | MongoDB |
|
||||
| +--+------------------+-------+ | Backend |
|
||||
+-----------------------------+----+ | Upstream API Port | | Host |
|
||||
| MongoDB Frontend Port | | | | |
|
||||
| | |[internal port where we can | +--------------------+--------+ |
|
||||
| [port number for MongoDB | |access backend BDB cluster | | MongoDB Backend Port | |
|
||||
| instances to communicate | +--+--------------------------+ | | |
|
||||
| with each other +-------+----------------------------->|[port where MongoDB instance | |
|
||||
+-----------------------------+----+ | | listens/waits for requests] | |
|
||||
| | +--------------------+--------+ |
|
||||
+------------+ +------------+
|
||||
```
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t bigchaindb/nginx_3scale:3.0 .
|
||||
docker build -t bigchaindb/nginx_3scale:3.1 .
|
||||
|
||||
docker push bigchaindb/nginx_3scale:3.0
|
||||
docker push bigchaindb/nginx_3scale:3.1
|
||||
|
|
Loading…
Reference in New Issue
Block a user