-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
135 lines (134 loc) · 3.3 KB
/
docker-compose.yaml
File metadata and controls
135 lines (134 loc) · 3.3 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
version: "3.3"
volumes:
bitcoin-data:
metashrew-data:
secondary-data:
services:
bitcoind:
image: bitcoind:alkanes
build:
dockerfile: Dockerfile
context: ./docker/bitcoind
volumes:
- bitcoin-data:/root/.bitcoin
command:
["-txindex", "-regtest=1", "-printtoconsole", "-rpcallowip=0.0.0.0/0", "-rpcbind=0.0.0.0", "-rpcuser=bitcoinrpc", "-rpcpassword=bitcoinrpc"]
ports:
- "18443:18443"
restart: unless-stopped
metashrew:
build:
dockerfile: Dockerfile
context: ./docker/metashrew
image: rockshrew:alkanes
depends_on:
- bitcoind
volumes:
- metashrew-data:/data
environment:
DAEMON_RPC_ADDR: http://bitcoind:18443
AUTH: bitcoinrpc:bitcoinrpc
DB_PATH: /data
LOG_FILTERS: none,rockshrew=debug
HOST: 0.0.0.0
PORT: 8080
restart: unless-stopped
memshrew:
build:
dockerfile: Dockerfile
context: ./docker/memshrew
image: memshrew:alkanes
depends_on:
- bitcoind
environment:
DAEMON_RPC_ADDR: http://bitcoind:18443
P2P_ADDR: bitcoind:18444
AUTH: bitcoinrpc:bitcoinrpc
LOG_FILTERS: none,memshrew=debug
HOST: 0.0.0.0
PORT: 8080
restart: unless-stopped
jsonrpc:
build:
dockerfile: Dockerfile
context: ./jsonrpc
image: jsonrpc:alkanes
depends_on:
- bitcoind
- metashrew
- ord
- esplora
environment:
HOST: 0.0.0.0
RPCUSER: bitcoinrpc
RPCPASSWORD: bitcoinrpc
DAEMON_RPC_ADDR: bitcoind:18443
ORD_HOST: ord
ORD_PORT: 8090
ESPLORA_HOST: esplora
ESPLORA_PORT: 50010
METASHREW_URI: http://metashrew:8080
PORT: 18888
ports:
- 18888:18888
restart: unless-stopped
ord:
build:
dockerfile: Dockerfile
context: ./docker/ord
image: ord:alkanes
depends_on:
- bitcoind
environment:
CHAIN: regtest
RPCUSER: bitcoinrpc
RPCPASSWORD: bitcoinrpc
PORT: 8090
DAEMON_RPC_ADDR: bitcoind:18443
restart: unless-stopped
esplora:
build:
dockerfile: Dockerfile
context: ./docker/electrs
image: esplora:alkanes
depends_on:
- bitcoind
volumes:
- bitcoin-data:/data/bitcoin
environment:
ELECTRS_AUTH: bitcoinrpc:bitcoinrpc
ELECTRS_NETWORK: regtest
ELECTRS_DAEMON_RPC_ADDR: bitcoind:18443
ELECTRS_HTTP_ADDR: 0.0.0.0:50010
ELECTRS_ELECTRUM_RPC_ADDR: 0.0.0.0:50001
ELECTRS_DB_DIR: /data/electrs
ELECTRS_DAEMON_DIR: /data/bitcoin
restart: unless-stopped
espo:
build:
dockerfile: Dockerfile
context: ./docker/espo
image: espo:alkanes
depends_on:
- bitcoind
- metashrew
- esplora
volumes:
- metashrew-data:/data
- bitcoin-data:/data/bitcoin
ports:
- "9069:9069"
command:
[
"--readonly-metashrew-db-dir", "/data",
"--port", "9069",
"--electrum-rpc-url", "esplora:50001",
"--bitcoind-rpc-url", "http://bitcoind:18443",
"--bitcoind-rpc-user", "bitcoinrpc",
"--bitcoind-rpc-pass", "bitcoinrpc",
"--bitcoind-blocks-dir", "/data/bitcoin/regtest/blocks",
"--espo-db-path", "/db",
"--tmp-dbs-dir", "/tmp_db",
"--network", "regtest"
]
restart: unless-stopped