run the loader inside a running container

This commit is contained in:
Rodolphe Marques 2016-04-26 10:45:05 +02:00
parent dca29ffe9f
commit 1b54a9ca6f
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ rethinkdb-data:
bigchaindb: bigchaindb:
build: . build: .
container_name: docker-bigchaindb
volumes: volumes:
- ./bigchaindb:/usr/src/app/bigchaindb - ./bigchaindb:/usr/src/app/bigchaindb
- ./tests:/usr/src/app/tests - ./tests:/usr/src/app/tests

View File

@ -135,7 +135,7 @@ API Server bind? (default `localhost:9984`):
Database host? (default `localhost`): rethinkdb Database host? (default `localhost`): rethinkdb
Database port? (default `28015`): Database port? (default `28015`):
Database name? (default `bigchain`): Database name? (default `bigchain`):
Statsd host? (default `localhost`): statsd Statsd host? (default `localhost`):
Statsd port? (default `8125`): Statsd port? (default `8125`):
Statsd rate? (default `0.01`): Statsd rate? (default `0.01`):
Ready to go! Ready to go!
@ -152,7 +152,7 @@ $ docker-compose up -d
then you can load test transactions via: then you can load test transactions via:
```text ```text
$ docker-compose run --rm bigchaindb bigchaindb-benchmark load $ docker exec -it docker-bigchaindb bigchaindb-benchmark load -m
``` ```
If you're on Linux, you can probably view the RethinkDB dashboard at: If you're on Linux, you can probably view the RethinkDB dashboard at: