forked from tqtezos/minter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
103 lines (94 loc) · 2.2 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3.7'
services:
api:
image: bakingbad/bcdhub-api:3.4
environment:
- BCD_ENV=sandbox
- GIN_MODE=debug
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=bcd
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
- SANDBOX_NODE_URI=http://sandbox:20000 # Optional key to point to sandbox
depends_on:
- elastic
- db
- mq
ports:
- 42000:14000
restart: on-failure
logging:
options:
max-size: 10m
max-file: '5'
indexer:
image: bakingbad/bcdhub-indexer:3.4
environment:
- BCD_ENV=sandbox
- GIN_MODE=debug
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
- POSTGRES_DB=bcd
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
- SANDBOX_NODE_URI=http://sandbox:20000 # Optional key to point to sandbox
depends_on:
- elastic
- mq
logging:
options:
max-size: 10m
max-file: '5'
db:
image: postgres
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: bcd
ports:
- 5432:5432
mq:
image: rabbitmq:latest
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
logging:
options:
max-size: 10m
max-file: '5'
elastic:
image: bakingbad/bcdhub-elastic:3.4
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
logging:
options:
max-size: 10m
max-file: '5'
# Flextesa is included only to support running this docker-compose file with
# a sandbox node
sandbox:
image: registry.gitlab.com/tezos/flextesa:56f651af-run
environment:
block_time: 5
flextesa_node_cors_origin: "*"
command: "edobox start --keep-root --genesis-block-hash random"
ports:
- 8732:20000
ipfs:
image: ipfs/go-ipfs
ports:
- 8080:8080
- 4001:4001
- 5001:5001
minter-api:
image: tqtezos/minter-api:latest
ports:
- 3300:3300
volumes:
- ./config/minter-api.sandbox.json:/usr/src/app/server/config.json
volumes:
esdata:
mqdata: