-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (41 loc) · 1.18 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
version: '3.2'
services:
blocc-btc-block:
build: .
container_name: blocc_btc_block
restart: always
command: [ "su-exec", "blocc:blocc", "/opt/blocc/bloccapi", "btc", "--block" ]
networks:
- hostnet
environment:
ELASTICSEARCH_HOST: "elasticsearch"
ELASTICSEARCH_WIPE_CONFIRM: "true"
EXTRACTOR_BTC_BLOCK_START_ID: "0000000000000000001ef60c1154bbb0134b9a660f6099057d0d91f3fc73c726"
EXTRACTOR_BTC_BLOCK_START_HEIGHT: "571345"
EXTRACTOR_BTC_BLOCK_CONCURRENT: "2"
EXTRACTOR_BTC_HOST: "134.173.43.151"
blocc-btc-tx:
build: .
container_name: blocc_btc_tx
restart: always
command: [ "su-exec", "blocc:blocc", "/opt/blocc/bloccapi", "btc", "--transaction" ]
networks:
- hostnet
environment:
ELASTICSEARCH_HOST: "elasticsearch"
EXTRACTOR_BTC_HOST: "134.173.43.151"
blocc-server:
build: .
container_name: blocc_server
restart: always
command: [ "su-exec", "blocc:blocc", "/opt/blocc/bloccapi", "server" ]
networks:
- hostnet
environment:
ELASTICSEARCH_HOST: "elasticsearch"
ports:
- 8080:8080
networks:
hostnet:
external:
name: hostnet