Commit Graph

47 Commits

Author SHA1 Message Date
Vanshdeep Singh c7503f5689 Problem: Support for latest Tendermint missing (#2375)
Solution: Upgrade to py-abci 0.5.1 to use latest Tendermint
2018-07-10 14:16:02 +02:00
Lev Berman 6f9dc5168b Problem: Tendermint RPC server gets stuck. (#2337)
Solution: Upgrade Tendermint to v0.19.0. Fixes #2322.
2018-06-06 14:18:27 +02:00
Muawia Khan fa72b722f7 Problem: Docker images of tendermint/tendermint:0.19.7 tagged but not updated in bdb (#2335) 2018-06-04 16:10:50 +02:00
Troy McConaghy f3683854e8 Problem: Can't connect to local MongoDB when `make start` (#2320)
Solution: Expose MongoDB port 27017 when using `make start`, i.e. when using docker-compose.yml
2018-05-30 15:58:56 +02:00
vrde f86704bae9 Problem: BigchainDB does not support newer MongoDB (#2298)
* Problem: BigchainDB does not support newer MongoDB

Solution: Update driver to the last version, that is compatible with all
versions of MongoDB

* Update to MongoDB 3.6
2018-05-17 15:19:56 +02:00
vrde 474fe80abb Problem: dev env doesn't allow P2P connections (#2299)
Solution: expose Tendermint P2P port 46656
2018-05-17 15:19:12 +02:00
Lev Berman 3eb0b15aa0 Problem: Tendermint creates empty blocks in the Docker-based setup. See #2204. (#2265)
Solution: Set the --consensus.create_empty_blocks=false option in docker-compose.yml.
2018-05-04 12:02:22 +02:00
Ahmed Muawia Khan 82e3f21c9a Merge branch 'alpha-3' 2018-05-02 16:35:49 +02:00
Ahmed Muawia Khan fd48abebae
Problem: Tendermint 0.19.0 missing crucial fixes (#2253) 2018-05-02 14:39:41 +02:00
vrde 8d589d0181
Problem: we don't have acceptance tests (#2216)
Solution: have a simple way to start a node and run scripts against it.
2018-04-30 14:43:39 +02:00
Vanshdeep Singh 44f19a398c Problem: Tests failing with py-abci 0.4.1 (#2235)
Solution: Fix tests and Migrate to Tendermint 0.19.0
2018-04-26 11:09:38 +02:00
Vanshdeep Singh 7f6782e31d Problem: ABCI server not run for tests (#2138)
Solution: Create seperate test mark for which the ABCI server will be running
2018-04-10 17:29:25 +02:00
vrde 7a718f78d2 Update Makefile (#2147)
* Problem: it's difficult to run/test/compile docs

Solution: we already have a nice Makefile, but it's outdated. The idea
is to revamp it and make it easy to use.

* Problem: Makefile is not documented

Solution: Add basic instructions on how to use it in the main README.md

* Problem: can't connect to localhost:9984

Solution: make docker expose 9984 by default, so everyone can connect to
localhost:9984.

* Problem: make clean is TMI

Solution: add `@` to remove commands so we don't output all the details
about the cleaning

* Problem: make clean is too shy

Solution: print a message saying that cleaning went well.
2018-03-22 17:12:39 +01:00
Ahmed Muawia Khan 73555b96ff Unwanted env var BIGCHAINDB_START_TENDERMINT (#2145) 2018-03-21 15:19:00 +01:00
Ahmed Muawia Khan 9be68c972d Problem: standardize docker-compose workflows (#2130)
- Standardize docker-compose workflow
- Change docker-compose version to 2.1
  - why one might ask? because compose version
    3.0 does not support depends on and inherits
    like we want to and is more aimed towards migration to using
    `docker stack`, for our current strategy `2.1` is a better choice.
- change `bdb` service `bigchaindb` service
  - why? Introduced a new proxy service `bdb` which is just a dummy
    `busybox` image.
    - why? because this ensure via healthcheck of bigchaindb that BigchainDB
      has started properly and makes a `curl` to ensure HTTP API server is up
      and running.
      - why? Because we have had scenarios where BigchainDB is not started
        via docker compose and user has to check out the logs to find out what
        the problem might be. This ensure that bigchaindb is up and running.
- Does this change deployment workflow? No.
  - The only thing change is that if you want to run commands inside a bigchaindb
    container e.g. `pytest` now you have to run the following command:
    `docker-compose run --rm --no-deps bigchaindb pytest -v --cov=bigchaindb`
     as opposed to `docker-compose run --rm --no-deps bdb pytest -v --cov=bigchaindb`
- Remove env variable `BIGCHAINDB_START_TENDERMINT`
- Remove TENDERMINT_INTEGRATION.rst and move to the new docs
- Change mdb -> mongodb because the other services were named with
  full name.
- Add example to run specific tests or from a file
- Update config.toml for tendermint to use `bigchaindb` as proxy app
  instead of `bdb`
- Remove `network` directory because it is deprecated
- Add comment about why PYTHONBUFFERED is used
2018-03-21 12:42:43 +01:00
vrde 044a052644
Merge branch 'master' into tendermint 2017-11-29 17:18:00 +01:00
vrde b56b1d6364
Use `localmongodb` as default backend for docker-compose (#1858)
* Use `localmongodb` as default backend for docker-compose

* Remove replica-set
2017-11-15 15:01:07 +01:00
kansi 1266c43ff8 Fix docker files 2017-11-07 18:44:51 +05:30
kansi 5954d6360a Added cmd flag --init to start command 2017-10-24 16:59:10 +05:30
Sylvain Bellemare 788f2f7277 Remove dev related mount of cryptoconditions 2017-10-20 14:24:03 +02:00
Sylvain Bellemare 26f14aadec Parametrize websocket api tests for docker 2017-07-03 15:23:50 +02:00
Sylvain Bellemare 02fe712c34 Integrate cryptoconditions version 02 2017-06-22 14:56:22 +02:00
Sylvain Bellemare 5b06af3a02 Split docker-compose for mongo and rethink 2017-06-20 11:45:39 +02:00
Sylvain Bellemare f06e5034a4 Move benchmark to its own compose file 2017-06-14 11:00:50 +02:00
Sylvain Bellemare 10e2ce1796 Add build arg to dockerfile & docker-compose (dev) 2017-06-13 16:08:28 +02:00
libscott 32fc9244e6 Benchmark for CREATE transactions (#1511)
* benchmark code, throughput stats collection with graphite

* benchmarks readme

* benchmark readme update with results

* Update README.md

* add comment on why 10000 backlog size in benchmark
2017-06-10 10:01:28 +02:00
Sylvain Bellemare 8900276b1d Mount k8s dir for docker-compose 2017-04-25 11:58:15 +02:00
Sylvain Bellemare 82a170402e Upgrade MongoDB in docker-compose file 2017-04-18 16:14:21 +02:00
Sylvain Bellemare b4eb75ede5 Use MongoDB as default db in docker-compose file 2017-04-18 16:14:21 +02:00
Rodolphe Marques 69068fc919 Document how to run BigchainDB with MongoDB (#1116)
* Document changes in the configure command.

Document new add/remove replicas commands.

* updated quickstart with mongodb instructions

* Docs on how to setup mongodb dev node with and without docker.

Update replSet option in docker-compose

* Fixed typo.

More explicit on how to run the tests.

* Fixed typo in mongodb docker instructions.

More explicit about requiring mongodb 3.4+
2017-01-31 13:53:36 +01:00
Sylvain Bellemare 4d6df06236 Resolves #948 2017-01-16 07:12:25 -05:00
Sylvain Bellemare 4994e30f0c Run mongod with --replSet=rs0 option 2017-01-11 13:21:27 +01:00
Sylvain Bellemare e696883f66 Pin rethinkdb version to 2.3.5 in docker-compose 2017-01-11 13:21:27 +01:00
Sylvain Bellemare f57990c9ea Pin mongodb version to 3.4.1 in docker-compose.yml 2017-01-11 13:21:27 +01:00
Sylvain Bellemare 9bff8b40b5 Add mongodb container service for dev/tests 2016-12-13 11:59:57 +01:00
Sylvain Bellemare dc5fd211c3 Mount Makefile in container 2016-12-13 11:52:56 +01:00
Sylvain Bellemare cc9e3b79b6 Remove outdated comment 2016-12-08 16:50:35 +01:00
Sylvain Bellemare 20f629256b Mount tox.ini in dev container 2016-12-08 11:45:41 +01:00
troymc 29d783425d Remove or comment-out the api_endpoint setting everywhere 2016-11-15 17:05:09 +01:00
Sylvain Bellemare 1ae08990c8 Docker dev setup docs (#653)
* Include configuration step in Dockerfile

* Document dev setup with docker-compose

* Add server API env vars and port

* Parameterize SERVER_BIND and API_ENDPOINT env vars

* Give a bit more detailed information on GET /
2016-10-05 11:25:45 +02:00
Sylvain Bellemare d45fb3568a Simplify the service names 2016-05-17 14:53:46 +02:00
Sylvain Bellemare 93d3b55770 Re-work docker-compose file
use version 2 & dedicated dev dockerfile
2016-05-13 16:22:40 +02:00
Rodolphe Marques 1b54a9ca6f run the loader inside a running container 2016-04-26 10:45:05 +02:00
Sylvain Bellemare ef6cc9eddd Change port number to a higher number 2016-02-17 23:59:26 +01:00
Sylvain Bellemare e15d4ce39c Fix some config issues for docker-compose 2016-02-15 14:42:15 +01:00
Sylvain Bellemare 19d00496c7 Update command name 2016-02-11 14:14:35 +01:00
Wrigley the Buffalo 841cabe8c6 Add code, have fun! 2016-02-10 19:55:33 +01:00