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

- Creating a common secret for CA, since all the members of the replica set and the clients need to have a common CA, moving all the relevant configuration to a common secret. - Modifying Dockerfiles for some components, once changes are approved we will publish the new images. - No documentation changes required.
13 lines
350 B
Docker
13 lines
350 B
Docker
FROM mongo:3.4.4
|
|
LABEL maintainer "dev@bigchaindb.com"
|
|
WORKDIR /
|
|
RUN apt-get update \
|
|
&& apt-get -y upgrade \
|
|
&& apt-get autoremove \
|
|
&& apt-get clean
|
|
COPY mongod.conf.template /etc/mongod.conf
|
|
COPY mongod_entrypoint.bash /
|
|
VOLUME /data/db /data/configdb /etc/mongod/ssl /etc/mongod/ca
|
|
EXPOSE 27017
|
|
ENTRYPOINT ["/mongod_entrypoint.bash"]
|