Skip to content

Commit

Permalink
Create docker-compose file specifically for CentOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Novosad committed Sep 20, 2021
1 parent 2334483 commit 06140e9
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 5 deletions.
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
9 changes: 4 additions & 5 deletions scripts/vault/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ version: "3.8"
services:
bitcoind:
image: "ruimarinho/bitcoin-core:0.21"
network_mode: host
command:
- -testnet
- -server
Expand All @@ -14,17 +13,18 @@ services:
- -rpcuser=rpcuser
- -rpcpassword=rpcpassword
- -fallbackfee=0.0002
ports:
- "18332:18332"
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"
- "http://bitcoind:18332"
- --bitcoin-rpc-user
- rpcuser
- --bitcoin-rpc-pass
Expand All @@ -41,7 +41,7 @@ services:
- "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
- "https://api.interlay.io/parachain"
- "wss://api.interlay.io/parachain"
- --no-api
environment:
RUST_LOG: info
Expand All @@ -52,7 +52,6 @@ services:
restart: unless-stopped
collator:
image: "interlayhq/interbtc:interbtc-standalone-0.8.5"
network_mode: host
command:
- interbtc-standalone
- --base-path=/interbtc
Expand Down

0 comments on commit 06140e9

Please sign in to comment.