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

* Changes to support auth on the infrastructure * Auth over TLS/SSL support in BigchainDB, MongoDB, Monitoring Agent, Backup Agent * Update certificates: Different OUs specified now * Code formatting - Make flake happy! * Raise proper authentication failed error * Documentation changes for auth * Support auth in k8s deployment * Commit certs for monitoring and backup agents * Configuration to allow Cloud Manager Backup Agent to backup data * Update docs and remove authentication error
19 lines
499 B
Docker
19 lines
499 B
Docker
FROM python:3.6
|
|
LABEL maintainer "dev@bigchaindb.com"
|
|
RUN mkdir -p /usr/src/app
|
|
COPY . /usr/src/app/
|
|
WORKDIR /usr/src/app
|
|
RUN apt-get -qq update \
|
|
&& apt-get -y upgrade \
|
|
&& pip install --no-cache-dir . \
|
|
&& apt-get autoremove \
|
|
&& apt-get clean
|
|
VOLUME ["/data", "/certs"]
|
|
WORKDIR /data
|
|
ENV BIGCHAINDB_CONFIG_PATH /data/.bigchaindb
|
|
ENV BIGCHAINDB_SERVER_BIND 0.0.0.0:9984
|
|
ENV BIGCHAINDB_WSSERVER_HOST 0.0.0.0
|
|
ENV BIGCHAINDB_WSSERVER_SCHEME ws
|
|
ENTRYPOINT ["bigchaindb"]
|
|
CMD ["start"]
|