Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions scripts/vault/docker-compose.centos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
version: "3.8"
services:
bitcoind:
image: "ruimarinho/bitcoin-core:0.21"
network_mode: host
command:
- -testnet
- -server
- -par=1
- -maxuploadtarget=200
- -blocksonly
- -rpcbind=0.0.0.0
- -rpcallowip=0.0.0.0/0
- -rpcuser=rpcuser
- -rpcpassword=rpcpassword
- -fallbackfee=0.0002
volumes:
- ./cache:/home/bitcoin/.bitcoin/testnet3
restart: unless-stopped
vault:
image: "interlayhq/interbtc-clients:vault-0-8-2"
network_mode: host
command:
- vault
- --no-bitcoin-block-relay
- --bitcoin-rpc-url
- "http://localhost:18332"
- --bitcoin-rpc-user
- rpcuser
- --bitcoin-rpc-pass
- rpcpassword
- --network
- testnet
- --keyfile
- /keyfile.json
- --keyname
- interbtcvault
- --auto-register-with-faucet-url
- "https://api.interlay.io/faucet"
- --telemetry-url
- "https://api.interlay.io/telemetry"
- --btc-parachain-url
# "--btc-parachain-url" can be set to '- "ws://localhost:9944"' to repoint vault for accessing parachain through collator service
- "wss://api.interlay.io/parachain"
- --no-api
environment:
RUST_LOG: info
volumes:
- type: bind
source: ./keyfile.json
target: /keyfile.json
restart: unless-stopped
collator:
image: "interlayhq/interbtc:interbtc-standalone-0.8.5"
network_mode: host
command:
- interbtc-standalone
- --base-path=/interbtc
- --chain=/interbtc/testnet.json
- --unsafe-ws-external
- --rpc-methods=Unsafe
- --rpc-cors=all
environment:
RUST_LOG: info
volumes:
- ./interbtc:/interbtc
restart: unless-stopped
19 changes: 18 additions & 1 deletion scripts/vault/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.8"
services:
bitcoind:
image: "ruimarinho/bitcoin-core:0.20"
image: "ruimarinho/bitcoin-core:0.21"
command:
- -testnet
- -server
Expand All @@ -22,6 +22,7 @@ services:
image: "interlayhq/interbtc-clients:vault-0-8-2"
command:
- vault
- --no-bitcoin-block-relay
- --bitcoin-rpc-url
- "http://bitcoind:18332"
- --bitcoin-rpc-user
Expand All @@ -39,11 +40,27 @@ services:
- --telemetry-url
- "https://api.interlay.io/telemetry"
- --btc-parachain-url
# "--btc-parachain-url" can be set to '- "ws://localhost:9944"' to repoint vault for accessing parachain through collator service
- "wss://api.interlay.io/parachain"
- --no-api
environment:
RUST_LOG: info
volumes:
- type: bind
source: ./keyfile.json
target: /keyfile.json
restart: unless-stopped
collator:
image: "interlayhq/interbtc:interbtc-standalone-0.8.5"
command:
- interbtc-standalone
- --base-path=/interbtc
- --chain=/interbtc/testnet.json
- --unsafe-ws-external
- --rpc-methods=Unsafe
- --rpc-cors=all
environment:
RUST_LOG: info
volumes:
- ./interbtc:/interbtc
restart: unless-stopped