-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
47 lines (42 loc) · 1.07 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '2'
services:
api:
build:
context: ./query-engine
dockerfile: ./Dockerfile
depends_on:
- mongodb
ports:
- "4000:4000"
command: npm run start
bigchaindb:
depends_on:
- mongodb
- tendermint
image: bigchaindb/bigchaindb:2.0.0-beta5
environment:
BIGCHAINDB_DATABASE_BACKEND: localmongodb
BIGCHAINDB_DATABASE_HOST: mongodb
BIGCHAINDB_DATABASE_PORT: 27017
BIGCHAINDB_SERVER_BIND: 0.0.0.0:9984
BIGCHAINDB_WSSERVER_HOST: 0.0.0.0
BIGCHAINDB_WSSERVER_ADVERTISED_HOST: bigchaindb
BIGCHAINDB_TENDERMINT_HOST: tendermint
BIGCHAINDB_TENDERMINT_PORT: 26657
ports:
- "9984:9984"
- "9985:9985"
- "26658"
command: start
tendermint:
image: tendermint/tendermint:0.22.8
entrypoint: ''
ports:
- "26656:26656"
- "26657:26657"
command: sh -c "tendermint init && tendermint node --consensus.create_empty_blocks=false --proxy_app=tcp://bigchaindb:26658"
mongodb:
image: mongo:3.6
ports:
- "27017:27017"
command: mongod