Decouple backend DB and BigchainDB

This commit is contained in:
krish7919 (Krish)
2017-02-08 17:10:45 +01:00
parent 5e479d831b
commit f66c44689a
2 changed files with 75 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
FROM rethinkdb:2.3
FROM ubuntu:xenial
# From http://stackoverflow.com/a/38553499
@@ -34,8 +34,6 @@ ENV BIGCHAINDB_SERVER_BIND 0.0.0.0:9984
# but maybe our Docker or Docker Compose stuff does?
# ENV BIGCHAINDB_API_ENDPOINT http://bigchaindb:9984/api/v1
ENTRYPOINT ["bigchaindb", "--dev-start-rethinkdb", "--dev-allow-temp-keypair"]
ENTRYPOINT ["bigchaindb"]
CMD ["start"]
EXPOSE 8080 9984 28015 29015