forked from janoside/btc-rpc-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.qbit.yml
More file actions
57 lines (55 loc) · 1.64 KB
/
Copy pathdocker-compose.qbit.yml
File metadata and controls
57 lines (55 loc) · 1.64 KB
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
services:
qbit:
image: gcr.io/analog-stage-198105/daemon-builds/qbit:v1.0.0
platform: linux/amd64
restart: unless-stopped
environment:
QBIT_RPC_USER: ${QBIT_RPC_USER:-qbitexplorer}
QBIT_RPC_PASSWORD: ${QBIT_RPC_PASSWORD:-qbit-local-explorer}
command:
- qbitd
- -chain=main
- -server=1
- -listen=1
- -txindex=1
- -rpcbind=0.0.0.0:8352
- -rpcallowip=0.0.0.0/0
- -rpcuser=${QBIT_RPC_USER:-qbitexplorer}
- -rpcpassword=${QBIT_RPC_PASSWORD:-qbit-local-explorer}
- -printtoconsole=1
- -connectarchive=positron-mainnet.qbit.org:8355
- -connectarchive=graviton-mainnet.qbit.org:8355
ports:
- "8355:8355"
volumes:
- qbit-mainnet-data:/root/.qbit
healthcheck:
test: ["CMD-SHELL", "qbit-cli -rpcuser=$$QBIT_RPC_USER -rpcpassword=$$QBIT_RPC_PASSWORD getblockchaininfo >/dev/null 2>&1"]
interval: 10s
timeout: 5s
retries: 30
start_period: 10s
explorer:
image: gcr.io/analog-stage-198105/luxor-qbit-explorer:latest
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
depends_on:
qbit:
condition: service_healthy
environment:
BTCEXP_COIN: QBT
BTCEXP_HOST: 0.0.0.0
BTCEXP_PORT: 3002
BTCEXP_BITCOIND_HOST: qbit
BTCEXP_BITCOIND_PORT: 8352
BTCEXP_BITCOIND_USER: ${QBIT_RPC_USER:-qbitexplorer}
BTCEXP_BITCOIND_PASS: ${QBIT_RPC_PASSWORD:-qbit-local-explorer}
BTCEXP_BITCOIND_RPC_TIMEOUT: 30000
BTCEXP_NO_RATES: "true"
BTCEXP_PRIVACY_MODE: "true"
ports:
- "127.0.0.1:3002:3002"
volumes:
qbit-mainnet-data: