-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
106 lines (101 loc) · 2.54 KB
/
docker-compose.yaml
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
104
105
106
networks:
internal:
name: internal
external: false
volumes:
bitcoin-data:
driver: local
electrs-data:
driver: local
ord-data:
driver: local
services:
bitcoin:
image: ruimarinho/bitcoin-core:24-alpine
restart: unless-stopped
ports:
- 18443:18443
volumes:
- bitcoin-data:/home/bitcoin/.bitcoin
networks:
- internal
command: -printtoconsole
-txindex=1
-regtest=1
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-rpcuser=${BITCOIN_USER}
-rpcpassword=${BITCOIN_PASSWORD}
-fallbackfee=0.00001
healthcheck:
test: bitcoin-cli -regtest -rpcuser=${BITCOIN_USER} -rpcpassword=${BITCOIN_PASSWORD} getrpcinfo
interval: 5s
timeout: 5s
retries: 3
ordinals-ord:
image: haffjjj/ordinals-ord:v0.18.4
restart: unless-stopped
ports:
- 3032:3032
volumes:
- ord-data:/root/.local/share
depends_on:
bitcoin:
condition: service_healthy
networks:
- internal
command: --chain=regtest
--bitcoin-rpc-url=http://bitcoin:18443
--bitcoin-rpc-username=${BITCOIN_USER}
--bitcoin-rpc-password=${BITCOIN_PASSWORD}
--index-sats
--index-runes
server
--http-port=3032
healthcheck:
test: curl -f localhost:3032/blockheight || exit 1
start_period: 5s
interval: 5s
timeout: 5s
retries: 3
blockstream-electrs:
image: haffjjj/blockstream-electrs:v1.0.0
restart: unless-stopped
ports:
- 3002:3002 # rest api
- 60401:60401 # electrum
volumes:
- electrs-data:/data/db
depends_on:
bitcoin:
condition: service_healthy
networks:
- internal
command: -vvvv
--jsonrpc-import
--network=regtest
--daemon-rpc-addr=bitcoin:18443
--cookie=${BITCOIN_USER}:${BITCOIN_PASSWORD}
--lightmode=1
--index-unspendables=1
--utxos-limit=100000
--electrum-txs-limit=100000
--http-addr=0.0.0.0:3002
--electrum-rpc-addr=0.0.0.0:60401
janoside-btc-rpc-explorer:
image: haffjjj/janoside-btc-rpc-explorer:v3.4.0
restart: unless-stopped
ports:
- 3000:3002
depends_on:
bitcoin:
condition: service_healthy
networks:
- internal
environment:
BTCEXP_HOST: 0.0.0.0
BTCEXP_PORT: 3002
BTCEXP_BITCOIND_URI: bitcoin://${BITCOIN_USER}:${BITCOIN_PASSWORD}@bitcoin:18443?timeout=10000
BTCEXP_ADDRESS_API: electrum
BTCEXP_ELECTRUM_SERVERS: tcp://blockstream-electrs:60401
BTCEXP_ELECTRUM_TXINDEX: true