From 13001adcac9605d2d618a81fbd938169e87af899 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Wed, 26 Jun 2019 15:59:58 +0200 Subject: [PATCH] Added chain volumes for each network. Removed validators accounts for public networks --- compose-files/network_volumes.yml | 5 ++++- compose-files/nodes/duero_node.yml | 4 +--- compose-files/nodes/kovan_node.yml | 1 + compose-files/nodes/nile_node.yml | 5 ++--- compose-files/nodes/pacific_node.yml | 7 +++---- networks/duero/config/config.toml | 3 --- networks/nile/config/config.toml | 3 --- 7 files changed, 11 insertions(+), 17 deletions(-) diff --git a/compose-files/network_volumes.yml b/compose-files/network_volumes.yml index bf1ce3c..8190079 100644 --- a/compose-files/network_volumes.yml +++ b/compose-files/network_volumes.yml @@ -9,5 +9,8 @@ networks: - subnet: 172.15.0.1/24 volumes: - keeper-node: + keeper-node-duero: + keeper-node-nile: + keeper-node-pacific: + keeper-node-kovan: secret-store: diff --git a/compose-files/nodes/duero_node.yml b/compose-files/nodes/duero_node.yml index b525054..da797bb 100644 --- a/compose-files/nodes/duero_node.yml +++ b/compose-files/nodes/duero_node.yml @@ -14,10 +14,8 @@ services: --jsonrpc-apis all volumes: - ../networks/duero/config:/home/parity/parity/config - - keeper-node:/home/parity/.local/share/io.parity.ethereum/ - ../networks/duero/keys:/home/parity/.local/share/io.parity.ethereum/keys - - ../networks/duero/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/duero/validator.json - - ../networks/duero/authorities/validator0.pwd:/home/parity/parity/validator.pwd + - keeper-node-duero:/home/parity/.local/share/io.parity.ethereum/ ports: - 8545:8545 networks: diff --git a/compose-files/nodes/kovan_node.yml b/compose-files/nodes/kovan_node.yml index 057be98..139796e 100644 --- a/compose-files/nodes/kovan_node.yml +++ b/compose-files/nodes/kovan_node.yml @@ -15,6 +15,7 @@ services: --unsafe-expose volumes: - ../networks/kovan/keys:/home/parity/.local/share/io.parity.ethereum/keys/kovan + - keeper-node-kovan:/home/parity/.local/share/io.parity.ethereum/ ports: - 8545:8545 networks: diff --git a/compose-files/nodes/nile_node.yml b/compose-files/nodes/nile_node.yml index ff9746e..206e8ad 100644 --- a/compose-files/nodes/nile_node.yml +++ b/compose-files/nodes/nile_node.yml @@ -13,9 +13,8 @@ services: --jsonrpc-apis all volumes: - ../networks/nile/config:/home/parity/parity/config - - keeper-node:/home/parity/.local/share/io.parity.ethereum/ - - ../networks/nile/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/nile/validator.json - - ../networks/nile/authorities/validator0.pwd:/home/parity/parity/validator.pwd + - ../networks/nile/keys:/home/parity/.local/share/io.parity.ethereum/keys + - keeper-node-nile:/home/parity/.local/share/io.parity.ethereum/ ports: - 8545:8545 networks: diff --git a/compose-files/nodes/pacific_node.yml b/compose-files/nodes/pacific_node.yml index ff9746e..cde5faf 100644 --- a/compose-files/nodes/pacific_node.yml +++ b/compose-files/nodes/pacific_node.yml @@ -12,10 +12,9 @@ services: --jsonrpc-hosts all --jsonrpc-apis all volumes: - - ../networks/nile/config:/home/parity/parity/config - - keeper-node:/home/parity/.local/share/io.parity.ethereum/ - - ../networks/nile/authorities/validator0.json:/home/parity/.local/share/io.parity.ethereum/keys/nile/validator.json - - ../networks/nile/authorities/validator0.pwd:/home/parity/parity/validator.pwd + - ../networks/pacific/config:/home/parity/parity/config + - ../networks/pacific/keys:/home/parity/.local/share/io.parity.ethereum/keys + - keeper-node-pacific:/home/parity/.local/share/io.parity.ethereum/ ports: - 8545:8545 networks: diff --git a/networks/duero/config/config.toml b/networks/duero/config/config.toml index a967ee5..168e05d 100644 --- a/networks/duero/config/config.toml +++ b/networks/duero/config/config.toml @@ -14,6 +14,3 @@ apis = ["web3", "eth", "pubsub", "net", "parity", "parity_pubsub", "parity_accou [network] port = 30303 discovery = true - -[account] -password = ["/home/parity/parity/validator.pwd"] diff --git a/networks/nile/config/config.toml b/networks/nile/config/config.toml index a967ee5..168e05d 100644 --- a/networks/nile/config/config.toml +++ b/networks/nile/config/config.toml @@ -14,6 +14,3 @@ apis = ["web3", "eth", "pubsub", "net", "parity", "parity_pubsub", "parity_accou [network] port = 30303 discovery = true - -[account] -password = ["/home/parity/parity/validator.pwd"]