Use MongoDB as default db in docker-compose file

This commit is contained in:
Sylvain Bellemare
2017-04-13 15:37:18 +02:00
committed by Sylvain Bellemare
parent ebe89c3ebd
commit b4eb75ede5
3 changed files with 24 additions and 24 deletions

View File

@@ -98,19 +98,19 @@ web interface at: http://0.0.0.0:58080/.
Start a BigchainDB node:
```bash
docker-compose up -d bdb
docker-compose up -d bdb-rdb
```
You can monitor the logs:
```bash
docker-compose logs -f bdb
docker-compose logs -f bdb-rdb
```
If you wish to run the tests:
```bash
docker-compose run --rm bdb py.test -v -n auto
docker-compose run --rm bdb-rdb py.test -v -n auto
```
### Docker with MongoDB
@@ -130,19 +130,19 @@ $ docker-compose port mdb 27017
Start a BigchainDB node:
```bash
docker-compose up -d bdb-mdb
docker-compose up -d bdb
```
You can monitor the logs:
```bash
docker-compose logs -f bdb-mdb
docker-compose logs -f bdb
```
If you wish to run the tests:
```bash
docker-compose run --rm bdb-mdb py.test -v --database-backend=mongodb
docker-compose run --rm bdb py.test -v --database-backend=mongodb
```
### Accessing the HTTP API