diff --git a/scripts/vault/docker-compose.centos.yml b/scripts/vault/docker-compose.centos.yml new file mode 100644 index 00000000..debf8c56 --- /dev/null +++ b/scripts/vault/docker-compose.centos.yml @@ -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 diff --git a/scripts/vault/docker-compose.yml b/scripts/vault/docker-compose.yml index 56702833..42c43cac 100644 --- a/scripts/vault/docker-compose.yml +++ b/scripts/vault/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.8" services: bitcoind: - image: "ruimarinho/bitcoin-core:0.20" + image: "ruimarinho/bitcoin-core:0.21" command: - -testnet - -server @@ -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 @@ -39,7 +40,9 @@ 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: @@ -47,3 +50,17 @@ services: 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