-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.yml
73 lines (69 loc) · 1.5 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: "3.7"
services:
postgres:
image: postgres:12-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: blackstone_development
POSTGRES_PASSWORD: blackstone_development
POSTGRES_DB: blackstone_development
vent:
image: hyperledger/burrow:${BURROW_VERSION}
restart: on-failure
command:
- vent
- start
- --db-adapter
- postgres
- --db-url
- postgres://blackstone_development:blackstone_development@postgres:5432/blackstone_development?sslmode=disable
- --db-schema
- data
- --chain-addr
- chain:10997
- --log-level
- info
- --spec
- /app/sqlsol
- --abi
- /app/src/bin
volumes:
- .:/app
depends_on:
- postgres
- chain
chain:
image: hyperledger/burrow:${BURROW_VERSION}
ports:
# GRPC port for most interaction
- "10997:10997"
# HTTP status/information port
- "26658:26658"
volumes:
- ./src/tests/chain/burrow.toml:/app/burrow.toml
- ./src/tests/chain/keys:/app/keys
- type: tmpfs
target: /app/.burrow
working_dir: /app
command:
- start
contracts:
image: hyperledger/burrow:${BURROW_VERSION}
volumes:
- type: bind
source: ./
target: /app
- type: tmpfs
target: /app/src/bin
working_dir: /app
depends_on:
- chain
command:
- deploy
- --chain=chain:10997
- --address=${CONTRACTS_DEPLOYMENT_ADDRESS}
- --jobs=1
- --timeout=30
- src/build-test.yaml
- src/test.yaml