Skip to content

Commit 06140e9

Browse files
author
Roman Novosad
committed
Create docker-compose file specifically for CentOS
1 parent 2334483 commit 06140e9

File tree

2 files changed

+71
-5
lines changed

2 files changed

+71
-5
lines changed
+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
version: "3.8"
2+
services:
3+
bitcoind:
4+
image: "ruimarinho/bitcoin-core:0.21"
5+
network_mode: host
6+
command:
7+
- -testnet
8+
- -server
9+
- -par=1
10+
- -maxuploadtarget=200
11+
- -blocksonly
12+
- -rpcbind=0.0.0.0
13+
- -rpcallowip=0.0.0.0/0
14+
- -rpcuser=rpcuser
15+
- -rpcpassword=rpcpassword
16+
- -fallbackfee=0.0002
17+
volumes:
18+
- ./cache:/home/bitcoin/.bitcoin/testnet3
19+
restart: unless-stopped
20+
vault:
21+
image: "interlayhq/interbtc-clients:vault-0-8-2"
22+
network_mode: host
23+
command:
24+
- vault
25+
- --no-bitcoin-block-relay
26+
- --bitcoin-rpc-url
27+
- "http://localhost:18332"
28+
- --bitcoin-rpc-user
29+
- rpcuser
30+
- --bitcoin-rpc-pass
31+
- rpcpassword
32+
- --network
33+
- testnet
34+
- --keyfile
35+
- /keyfile.json
36+
- --keyname
37+
- interbtcvault
38+
- --auto-register-with-faucet-url
39+
- "https://api.interlay.io/faucet"
40+
- --telemetry-url
41+
- "https://api.interlay.io/telemetry"
42+
- --btc-parachain-url
43+
# "--btc-parachain-url" can be set to '- "ws://localhost:9944"' to repoint vault for accessing parachain through collator service
44+
- "wss://api.interlay.io/parachain"
45+
- --no-api
46+
environment:
47+
RUST_LOG: info
48+
volumes:
49+
- type: bind
50+
source: ./keyfile.json
51+
target: /keyfile.json
52+
restart: unless-stopped
53+
collator:
54+
image: "interlayhq/interbtc:interbtc-standalone-0.8.5"
55+
network_mode: host
56+
command:
57+
- interbtc-standalone
58+
- --base-path=/interbtc
59+
- --chain=/interbtc/testnet.json
60+
- --unsafe-ws-external
61+
- --rpc-methods=Unsafe
62+
- --rpc-cors=all
63+
environment:
64+
RUST_LOG: info
65+
volumes:
66+
- ./interbtc:/interbtc
67+
restart: unless-stopped

scripts/vault/docker-compose.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ version: "3.8"
22
services:
33
bitcoind:
44
image: "ruimarinho/bitcoin-core:0.21"
5-
network_mode: host
65
command:
76
- -testnet
87
- -server
@@ -14,17 +13,18 @@ services:
1413
- -rpcuser=rpcuser
1514
- -rpcpassword=rpcpassword
1615
- -fallbackfee=0.0002
16+
ports:
17+
- "18332:18332"
1718
volumes:
1819
- ./cache:/home/bitcoin/.bitcoin/testnet3
1920
restart: unless-stopped
2021
vault:
2122
image: "interlayhq/interbtc-clients:vault-0-8-2"
22-
network_mode: host
2323
command:
2424
- vault
2525
- --no-bitcoin-block-relay
2626
- --bitcoin-rpc-url
27-
- "http://localhost:18332"
27+
- "http://bitcoind:18332"
2828
- --bitcoin-rpc-user
2929
- rpcuser
3030
- --bitcoin-rpc-pass
@@ -41,7 +41,7 @@ services:
4141
- "https://api.interlay.io/telemetry"
4242
- --btc-parachain-url
4343
# "--btc-parachain-url" can be set to '- "ws://localhost:9944"' to repoint vault for accessing parachain through collator service
44-
- "https://api.interlay.io/parachain"
44+
- "wss://api.interlay.io/parachain"
4545
- --no-api
4646
environment:
4747
RUST_LOG: info
@@ -52,7 +52,6 @@ services:
5252
restart: unless-stopped
5353
collator:
5454
image: "interlayhq/interbtc:interbtc-standalone-0.8.5"
55-
network_mode: host
5655
command:
5756
- interbtc-standalone
5857
- --base-path=/interbtc

0 commit comments

Comments
 (0)