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

* Remove support for whitelist * Rename nginx to nginx-api * Remove websocket support from nginx-api * Change nginx to nginx-api service The nginx-api service will proxy requests to the BigchainDB HTTP API. * Rename ngx-instance-0 to ngx-api-instance-0 in nginx_3scale * Update nginx-api service base docker image and README * Add nginx-ws service to support Websocket * Add config files for simple dev setup * WS support with split NGINX * NGINX module as single entrypoint into the cluster. * Tested HTTP and WS with latest configs * Openresty as separate service * Remove upstream api port as configuration parameter * Changes while testing * Adding READMEs for nginx-http and nginx-https modules * Documentation update * Change 'Openresty' to 'OpenResty'.
12 lines
294 B
Docker
12 lines
294 B
Docker
FROM nginx:1.13.1
|
|
LABEL maintainer "dev@bigchaindb.com"
|
|
WORKDIR /
|
|
RUN apt-get update \
|
|
&& apt-get -y upgrade \
|
|
&& apt-get autoremove \
|
|
&& apt-get clean
|
|
COPY nginx.conf.template /etc/nginx/nginx.conf
|
|
COPY nginx_entrypoint.bash /
|
|
EXPOSE 80 27017
|
|
ENTRYPOINT ["/nginx_entrypoint.bash"]
|